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

feat: Metrics event handler prototype #1213

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

kaylareopelle
Copy link
Contributor

@kaylareopelle kaylareopelle commented Oct 24, 2024

Building off #1129, here's a metrics prototype for Rack that has a separate event handler.

Now, metrics are not dependent on traces.
This may cause the metrics duration to be slightly different from the span duration, but that is only a "SHOULD"-level requirement:

When this metric is reported alongside an HTTP server span, the metric value SHOULD be the same as the HTTP server span duration.
[source]

Closes #1127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Determine the structure for Metrics instrumentation
1 participant