Exam4Training

How would the customer go about troubleshooting further with the logging exporter?

A customer is experiencing issues getting metrics from a new receiver they have configured in the OpenTelemetry Collector.

How would the customer go about troubleshooting further with the logging exporter?
A . Adding debug into the metrics receiver pipeline:

B . Adding logging into the metrics receiver pipeline:



C . Adding logging into the metrics exporter pipeline:

D . Adding debug into the metrics exporter pipeline:

Answer: B

Explanation:

The correct answer is B. Adding logging into the metrics receiver pipeline.

The logging exporter is a component that allows the OpenTelemetry Collector to send traces, metrics, and logs directly to the console. It can be used to diagnose and troubleshoot issues with telemetry received and processed by the Collector, or to obtain samples for other purposes1

To activate the logging exporter, you need to add it to the pipeline that you want to diagnose. In this case, since you are experiencing issues with a new receiver for metrics, you need to add the logging exporter to the metrics receiver pipeline. This will create a new plot that shows the metrics received by the Collector and any errors or warnings that might occur1

The image that you have sent with your question shows how to add the logging exporter to the metrics receiver pipeline. You can see that the exporters section of the metrics pipeline includes logging as one of the options. This means that the metrics received by any of the receivers listed in the receivers section will be sent to the logging exporter as well as to any other exporters listed2

To learn more about how to use the logging exporter in Splunk Observability Cloud, you can refer to this documentation1.

1: https://docs.splunk.com/Observability/gdi/opentelemetry/components/logging-exporter.html 2: https://docs.splunk.com/Observability/gdi/opentelemetry/exposed-endpoints.html

Exit mobile version