@@ -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
|
||||
|
||||
Reference in New Issue
Block a user