Skip to content

Align OTel names with general conventions.#126451

Draft
cincuranet wants to merge 2 commits intodotnet:mainfrom
cincuranet:fix-memorycache-otel-names
Draft

Align OTel names with general conventions.#126451
cincuranet wants to merge 2 commits intodotnet:mainfrom
cincuranet:fix-memorycache-otel-names

Conversation

@cincuranet
Copy link
Copy Markdown
Contributor

@cincuranet cincuranet commented Apr 2, 2026

Follow up for #126146.

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-caching
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Microsoft.Extensions.Caching.Memory MemoryCache OpenTelemetry metric and attribute (tag) names to follow a dotnet.cache.* naming convention.

Changes:

  • Renamed cache metric instrument names (e.g., cache.requestsdotnet.cache.requests).
  • Renamed metric tag keys (e.g., cache.name / cache.request.typedotnet.cache.name / dotnet.cache.request.type).
  • Adjusted several metric unit strings (plural → singular).

@karelz karelz marked this pull request as ready for review April 2, 2026 17:01
Copilot AI review requested due to automatic review settings April 2, 2026 17:01
@karelz karelz marked this pull request as draft April 2, 2026 17:05

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants