File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ type (
231231 }
232232
233233 ContainerMetricsReceiver struct {
234- CollectionInterval time.Duration `yaml:"- " mapstructure:"collection_interval"`
234+ CollectionInterval time.Duration `yaml:"collection_interval " mapstructure:"collection_interval"`
235235 }
236236
237237 HostMetrics struct {
Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ allowed_directories:
2828 - /var/run/nginx
2929
3030client:
31- timeout: 10s
31+ http:
32+ timeout: 10s
3233
3334collector:
3435 log:
3536 level: DEBUG
3637 receivers:
3738 container_metrics:
38- collection_interval: 10s
39+ collection_interval: 1m0s
3940 host_metrics:
4041 collection_interval: 1m0s
4142 initial_delay: 1s
@@ -49,9 +50,8 @@ collector:
4950 - server:
5051 host: "127.0.0.1"
5152 port: 4317
52- type: 0
5353 auth:
54- Token : secret-receiver-token
54+ token : secret-receiver-token
5555 tls:
5656 server_name: test-local-server
5757 ca: /tmp/ca.pem
You can’t perform that action at this time.
0 commit comments