Signed-off-by: Antonio Ereiz <antonio.ereiz@gmail.com>
This commit is contained in:
Antonio Ereiz
2024-06-23 21:09:39 +02:00
parent ed2786f9f8
commit 09c6d44512
+1 -1
View File
@@ -33,7 +33,7 @@ const {
} = require('@opentelemetry/auto-instrumentations-node');
const { PrometheusExporter } = require('@opentelemetry/exporter-prometheus');
// By default exports the metrics on port 9464
// 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