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

Add support for custom attributes function #3198

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

urdarinda
Copy link

@urdarinda urdarinda commented Nov 25, 2024

Sometimes we want to add custom attributes to metrics in order to give better context with the application.

Example,
I want to identify which API is responsible for calling this redis command and group by the calling API

@urdarinda urdarinda force-pushed the jatin/add-custom-attrs branch from 120cdd0 to 64bfb34 Compare November 25, 2024 18:28
@urdarinda
Copy link
Author

@ofekshenawa Please take a look at this one

@ofekshenawa
Copy link
Collaborator

Can you please add some tests?

@urdarinda
Copy link
Author

Can you please add some tests?

Added tests for metrics and custom attributes

@urdarinda urdarinda force-pushed the jatin/add-custom-attrs branch from 0524dee to b04e7ba Compare December 17, 2024 13:31
@urdarinda
Copy link
Author

@ofekshenawa Added tests but something weird is happening with the tests. It was passing tests yesterday and failing now. It should only fail on 1.19 afaik because the metric sdk version I am using requires 1.20 and above ( not able to find a working version before that)

@urdarinda urdarinda force-pushed the jatin/add-custom-attrs branch from fda6b07 to f7d3f48 Compare December 17, 2024 13:59
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