Skip to content

Commit

Permalink
Change collector logging exporter references to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Oct 21, 2024
1 parent f51be6c commit fcbdc88
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions other-examples/collector/host-monitoring/k8s/collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ data:
enabled: false
exporters:
logging:
debug:
verbosity: detailed
otlphttp:
endpoint: ${NEW_RELIC_OTLP_ENDPOINT}
Expand Down Expand Up @@ -220,7 +220,7 @@ data:
logs/host:
receivers: [filelog]
processors: [resourcedetection, resourcedetection/cloud, batch]
exporters: [logging, otlphttp]
exporters: [otlphttp]
traces:
receivers: [otlp]
processors: [resourcedetection, resourcedetection/cloud, batch]
Expand Down
2 changes: 1 addition & 1 deletion other-examples/collector/nr-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ The collector is configured with the following components.

### Exporters
* The [OTLP HTTP exporter](https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlphttpexporter). This exporter is configured to send data to New Relic. See [documentation](https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/get-started/opentelemetry-set-up-your-app/) for more information about New Relic OTLP support.
* The [Logging exporter](https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/loggingexporter). This exporter logs data the collector processes to standard out. It can be useful for troubleshooting.
* The [Debug exporter](https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/debugexporter). This exporter logs data the collector processes to standard out. It can be useful for troubleshooting.
8 changes: 4 additions & 4 deletions other-examples/collector/nr-config/otel-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ processors:
- truncate_all(attributes, 4095)
- truncate_all(resource.attributes, 4095)
exporters:
logging:
debug:
verbosity: $LOG_EXPORTER_LOG_VERBOSITY
otlphttp:
endpoint: https://otlp.nr-data.net
Expand All @@ -35,12 +35,12 @@ service:
metrics:
receivers: [otlp]
processors: [cumulativetodelta, batch]
exporters: [logging, otlphttp]
exporters: [debug, otlphttp]
traces:
receivers: [otlp]
processors: [transform, batch]
exporters: [logging, otlphttp]
exporters: [debug, otlphttp]
logs:
receivers: [otlp, fluentforward]
processors: [transform, batch]
exporters: [logging, otlphttp]
exporters: [debug, otlphttp]
6 changes: 3 additions & 3 deletions other-examples/java/logs-in-context-log4j2/otel-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ processors:
- replace_pattern(body, "\"trace_id\":", "\"trace.id\":")
- replace_pattern(body, "\"span_id\":", "\"span.id\":")
exporters:
logging:
debug:
verbosity: $LOG_EXPORTER_LOG_VERBOSITY
otlphttp:
endpoint: $NEW_RELIC_OTLP_ENDPOINT
Expand All @@ -36,8 +36,8 @@ service:
traces:
receivers: [otlp]
processors: [ batch ]
exporters: [ logging, otlphttp]
exporters: [ debug, otlphttp]
logs:
receivers: [fluentforward]
processors: [ transform, batch ]
exporters: [logging, otlphttp]
exporters: [debug, otlphttp]

0 comments on commit fcbdc88

Please sign in to comment.