Skip to content

[FEATURE] OpenTelemetry Instrumentation #257

Open
@jwafle

Description

@jwafle

Is there an existing feature request for this?

  • I have searched the existing feature requests

Is your feature request related to a problem? Please describe.

OpenTelemetry is becoming a popular open-source solution for monitoring application performance. Well-defined semantic conventions are supplied for HTTP metrics and traces. See here: https://opentelemetry.io/docs/specs/semconv/http/

In following with their guidance on instrumentation, they recommend implementing instrumentation code in the library for which it is written: https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation#new-instrumentation

Describe the solution that you would like.

If interested, I would be willing to contribute instrumentation code that implements OpenTelemetry metrics and tracing as a middleware for mux. Please let me know if you would like me to proceed with opening a PR.

Describe alternatives you have considered.

I have opened an issue to explore updating the current otelmux instrumentation: open-telemetry/opentelemetry-go-contrib#5936

However, current guidance from OpenTelemetry is to seek to include instrumentation with the libraries/packages themselves, thus why I am opening this issue.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions