Open mjarosie opened 9 months ago
After further digging it turns out there's already a bug reported in OpenTelemetry repository.
I've also found the document describing Semantic Conventions for HTTP metrics which I believe this ticket is about? Here's the migration plan for already existing traces and metrics.
Yeah, so I've been waiting for that semantic convention latest version to be implemented for a while (roughly when I started that lib). It seems to be finally progressing
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?