@@ -30,6 +30,24 @@ By default, the Collector exposes its own telemetry in two ways:
3030 interface which defaults to port ` 8888 ` .
3131- [ Logs] ( #configure-internal-logs ) are emitted to ` stderr ` by default.
3232
33+ ### Configure resource attributes
34+
35+ The Collector's automatically attaches the ` service.name ` , ` service.version ` ,
36+ and ` service.instance.id ` (randomly generated) resource attributes to its
37+ internal telemetry signals. These can be disabled by setting the attribute value
38+ to ` null ` (ex. ` service.name: null ` ).
39+
40+ If you'd like to add additional resource attributes to the Collector's internal
41+ telemetry signals (traces, metrics, and logs) you can set them under
42+ ` service::telemetry::resource ` :
43+
44+ ``` yaml
45+ service :
46+ telemetry :
47+ resource :
48+ attribute_key : ' attribute_value'
49+ ` ` `
50+
3351### Configure internal metrics
3452
3553#### OTLP exporter for internal metrics
@@ -55,22 +73,6 @@ service:
5573 endpoint: https://backend:4318
5674` ` `
5775
58- If you'd like to add additional resource attributes to the Collector's internal
59- telemetry signals (traces, metrics, and logs) you can set them under
60- ` service::telemetry::resource`:
61-
62- ` ` ` yaml
63- service:
64- telemetry:
65- resource:
66- attribute_key: 'attribute_value'
67- ` ` `
68-
69- ` service.name` , `service.version`, and `service.instance.id` (randomly
70- generated) resource attributes will be automatically attached to the Collector's
71- internal telemetry signals. These can be disabled by setting the the attribute
72- value to `null` (ex. `service.name : null`).
73-
7476# ### Prometheus endpoint for internal metrics
7577
7678Alternatively, you can expose the Prometheus endpoint to one specific or all
0 commit comments