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: Feature to add custom labels with metrics #287

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

martian711
Copy link

Changes are welcome, please suggest if any.

@martian711 martian711 changed the title Feature to add custom labels with metrics feat: Feature to add custom labels with metrics Feb 26, 2024
@@ -27,6 +27,7 @@ def __init__(
modified_handler: str,
modified_status: str,
modified_duration: float,
custom_labels: dict,
Copy link
Owner

Choose a reason for hiding this comment

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

I prefer to not have this attribute in the Info class. It should only contain attributes that are relevant for the respective request / response pair.

It is sufficient if all metrics closures included with this package get it as an additional parameter.

@trallnag trallnag marked this pull request as draft March 12, 2024 21:02
@trallnag
Copy link
Owner

In general I would be fine with merging this if requested changes are implemented

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.

2 participants