Merge pull request #25364 from SonilPro/opentelemetry-touchups

Clarity comment in Opentelemetry tutorial
This commit is contained in:
Fredrik Adelöw
2024-06-25 12:13:43 +02:00
committed by GitHub
+1
View File
@@ -33,6 +33,7 @@ const {
} = require('@opentelemetry/auto-instrumentations-node');
const { PrometheusExporter } = require('@opentelemetry/exporter-prometheus');
// By default exports the metrics on localhost:9464/metrics
const prometheus = new PrometheusExporter();
const sdk = new NodeSDK({
// You can add a traceExporter field here too