Skip to content

Commit 8c4ab64

Browse files
authored
[chore] add explicit telemetry configuration to config.yaml files (#1405)
* [chore] add explicit telemetry configuration to config.yaml files * address code review
1 parent 31b527f commit 8c4ab64

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

distributions/otelcol-contrib/config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ exporters:
4747
verbosity: detailed
4848

4949
service:
50+
telemetry:
51+
metrics:
52+
readers:
53+
- pull:
54+
exporter:
55+
prometheus:
56+
host: '127.0.0.1'
57+
port: 8888
58+
without_scope_info: true
59+
without_type_suffix: true
60+
without_units: true
61+
with_resource_constant_labels:
62+
included: [ ]
5063

5164
pipelines:
5265

distributions/otelcol/config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ exporters:
4747
verbosity: detailed
4848

4949
service:
50+
telemetry:
51+
metrics:
52+
readers:
53+
- pull:
54+
exporter:
55+
prometheus:
56+
host: '127.0.0.1'
57+
port: 8888
58+
without_scope_info: true
59+
without_type_suffix: true
60+
without_units: true
61+
with_resource_constant_labels:
62+
included: [ ]
5063

5164
pipelines:
5265

0 commit comments

Comments
 (0)