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

Remove the tracing MetricsLayer #6566

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Jan 17, 2025

This is a layer for tracing-subscriber, not for tower.

MetricsLayer converts tracing events with magic prefixes to otel metrics. We no longer use this mechanism for metrics, so we can delete support for it.
Custom Rust plugins could, in the past, use the tracing macros to emit metrics. The migration path will be to use the opentelemetry Rust crates like we do in the router.

Somewhat ready for review, but i'll keep it drafted to add a migration guide and changeset.

Removes filtering functionality that is no longer used; what it does now
is only rate limiting.
@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Jan 17, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 707947c756179dc5be198b8d

Copy link

mergify bot commented Jan 17, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟠 ❄️ Ensure queue is not active [Scheduled Freeze]

Waiting for scheduled freeze to end.

A freeze on the repository is scheduled for the following reason: Ensure queue is not active

  • current-datetime < 2025-01-17T23:40:20.870992[Europe/London]

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.

2 participants