Skip to content

Commit

Permalink
Use OTLP metrics expoter in frontend
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed Oct 31, 2023
1 parent cb74227 commit afb28a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/instrument.js
Expand Up @@ -25,8 +25,8 @@ const sdk = new opentelemetry.NodeSDK({
}),
traceExporter: new OTLPTraceExporter(),
metricReader: new PeriodicExportingMetricReader({
// exporter: new OTLPMetricExporter(),
exporter: new ConsoleMetricExporter()
exporter: new OTLPMetricExporter(),
// exporter: new ConsoleMetricExporter()
}),
instrumentations: [getNodeAutoInstrumentations()]
});
Expand Down

0 comments on commit afb28a2

Please sign in to comment.