apiMetrics cannot be used with OpenTelemetry Prometheus exporter when getNodeAutoInstrumentations is used #464
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
When the module is configured to expose api metrics:
and when
getNodeAutoInstrumentations
is used:OpenTelemetry Collector Prometheus exporter throws the following error (broken down into multiple lines for readability):
This is caused by the difference between descriptions exposed by opentelemetry-instrumentation-http (
'Measures the duration of inbound HTTP requests.'
) and nestjs-otel ('The duration of the inbound HTTP request'
).Should the description defined in
nestjs-otel
match some sort standard convention?The text was updated successfully, but these errors were encountered: