Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inconsistent metric usage of http.target #2818

Merged
merged 9 commits into from
Oct 3, 2022

Conversation

jack-berg
Copy link
Member

@jack-berg jack-berg commented Sep 21, 2022

Resolves #2335.

  • Removes http.url from http client metrics. There is no parameterized corollary to http.url and its unlikely that http client libraries would be able to provide a parameterized version.
  • Replace http.target with http.route in http server metrics.

These changes align the semantics of attributes in http traces and metrics.

@reyang reyang added area:semantic-conventions Related to semantic conventions spec:metrics Related to the specification/metrics directory semconv:HTTP labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions semconv:HTTP spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace http.url and http.target in http metric conventions
7 participants