Skip to content

Commit ce8e7bd

Browse files
chore: remove unused resource detection and attributes processors from OpenTelemetry config
1 parent 3c01fd7 commit ce8e7bd

1 file changed

Lines changed: 2 additions & 34 deletions

File tree

telemetry/otelcol-values.yaml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,14 @@ config:
1111
endpoint: 0.0.0.0:4318
1212
processors:
1313
batch: {}
14-
resourcedetection:
15-
detectors: [k8s, env]
16-
timeout: 2s
17-
override: true
18-
attributes:
19-
actions:
20-
- key: k8s_pod_name
21-
from_attribute: k8s.pod.name
22-
action: upsert
23-
- key: k8s_namespace_name
24-
from_attribute: k8s.namespace.name
25-
action: upsert
26-
- key: k8s_deployment_name
27-
from_attribute: k8s.deployment.name
28-
action: upsert
29-
- key: k8s_statefulset_name
30-
from_attribute: k8s.statefulset.name
31-
action: upsert
32-
resource:
33-
attributes:
34-
- key: deployment.environment
35-
value: production
36-
action: insert
3714
exporters:
3815
prometheus:
3916
endpoint: 0.0.0.0:9464
4017
service:
4118
pipelines:
4219
metrics:
4320
receivers: [otlp]
44-
processors: [resourcedetection, attributes, batch, resource]
21+
processors: [batch]
4522
exporters: [prometheus]
4623

4724
ports:
@@ -54,13 +31,4 @@ ports:
5431
enabled: true
5532
containerPort: 9464
5633
servicePort: 9464
57-
protocol: TCP
58-
59-
serviceMonitor:
60-
enabled: true
61-
metricsEndpoints:
62-
- port: prom-metrics
63-
interval: 30s
64-
scrapeTimeout: 10s
65-
extraLabels:
66-
release: monitoring-stack
34+
protocol: TCP

0 commit comments

Comments
 (0)