Skip to content

Support setting http.Request.Pattern in router #2758

Open
@Oloruntobi1

Description

@Oloruntobi1

Echo’s router doesn’t set http.Request.Pattern.

Helps OpenTelemetry (http.route) and aligns with net/http. Related: open-telemetry/opentelemetry-go-contrib#6980.

Also related:

golang/go#66405 (comment)

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