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

Dynamically set labels #45

Merged
merged 26 commits into from
May 14, 2024
Merged

Dynamically set labels #45

merged 26 commits into from
May 14, 2024

Conversation

chtushar
Copy link
Contributor

@chtushar chtushar commented Apr 30, 2024

Added

  • Optional additionalLabels option. The added label keys will be emitted with all metrics if the label value is set using setOpenAPMLabels.
  • setOpenAPMLabels function to set labels to the metrics emitted by OpenAPM.

Proof

Instrumentation:

proof 1

Metrics:

metrics

tests/utils.ts Dismissed Show dismissed Hide dismissed
@chtushar chtushar marked this pull request as ready for review May 10, 2024 11:01
@prathamesh-sonpatki prathamesh-sonpatki self-requested a review May 14, 2024 03:21
@prathamesh-sonpatki prathamesh-sonpatki self-requested a review May 14, 2024 06:34
@chtushar chtushar merged commit 42c969b into main May 14, 2024
3 checks passed
@prathamesh-sonpatki prathamesh-sonpatki deleted the dynamically-set-labels branch May 14, 2024 09:02
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