Skip to content

Commit 626e64d

Browse files
committed
chore: Otel collector config changes
1 parent efe481f commit 626e64d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

meta/scripts/otel/otel-collector-config.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ receivers:
66
http:
77
endpoint: 0.0.0.0:4318
88

9+
hostmetrics:
10+
scrapers:
11+
memory:
12+
913
prometheus:
1014
config:
1115
scrape_configs:
@@ -22,10 +26,8 @@ processors:
2226
check_interval: 2s
2327
limit_mib: 1800
2428
spike_limit_mib: 500
25-
resourcedetection/system:
26-
detectors: [ "system" ]
27-
system:
28-
hostname_sources: [ "os" ]
29+
resourcedetection:
30+
detectors: [ system ]
2931
resource:
3032
attributes:
3133
- key: service.name
@@ -34,6 +36,8 @@ processors:
3436

3537
exporters:
3638
debug:
39+
verbosity: detailed
40+
3741
clickhouse:
3842
endpoint: tcp://clickhouse:9000
3943
database: otel
@@ -71,14 +75,14 @@ service:
7175
pipelines:
7276
logs:
7377
receivers: [ otlp ]
74-
processors: [ memory_limiter, resourcedetection/system, resource, batch ]
78+
processors: [ memory_limiter, resourcedetection, resource, batch ]
7579
exporters: [ clickhouse ]
7680
traces:
7781
receivers: [ otlp ]
78-
processors: [ memory_limiter, resourcedetection/system, resource, batch ]
82+
processors: [ memory_limiter, resourcedetection, resource, batch ]
7983
exporters: [ clickhouse ]
8084
metrics:
8185
receivers: [ otlp ]
82-
processors: [ memory_limiter, resourcedetection/system, resource, batch ]
86+
processors: [ memory_limiter, resourcedetection, resource, batch ]
8387
exporters: [ clickhouse ]
8488
# exporters: [otlphttp/metrics,debug/metrics]

0 commit comments

Comments
 (0)