gofiber / contrib

🧬 Repository for third party middlewares with dependencies
https://docs.gofiber.io/contrib/
MIT License
226 stars 120 forks source link

🚀 [Feature]: Update otelfiber to use actual OpenTelemetry semantic conventions #1174

Open RyabovNick opened 2 months ago

RyabovNick commented 2 months ago

Feature Description

The current implementation of the otelfiber package uses outdated OpenTelemetry semantic conventions. Several naming conventions have changed, and the most critical update is related to the http.server.request.duration metric. The unit has changed from milliseconds (ms) to seconds (s).

A list of deprecated attributes/metrics can be found here:

Metric: http.server.request.duration

HTTP Deprecated Attributes

Network Deprecated Attributes

Additional Context (optional)

No response

Code Snippet (optional)

No response

Checklist: