mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
#### Description Add a `TelemetryFactory telemetry.Factory` field to `otelcol.Factories`. If it is nil, it will default to an `otelconftelemetry` factory. This enables overriding telemetry providers. #### Link to tracking issue Fixes #4970 #### Testing - Ran the collector without any telemetry config, verified that logging still works as expected - Ran the collector with standard (otelconftelemetry) config, verified it is used as expected (I just smoke tested by enabling debug logging -- more comprehensive unit tests exist) - Ran a modified version of the collector with a custom telemetry factory #### Documentation N/A
16 lines
172 B
YAML
16 lines
172 B
YAML
receivers:
|
|
nop_logs:
|
|
|
|
processors:
|
|
nop:
|
|
|
|
exporters:
|
|
nop:
|
|
|
|
service:
|
|
pipelines:
|
|
traces:
|
|
receivers: [nop_logs]
|
|
processors: [nop]
|
|
exporters: [nop]
|