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

[monitor - exporter] Add optional metrics/measurement param to track_event #35681

Open
lewism77 opened this issue May 17, 2024 · 1 comment
Open
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Monitor Monitor, Monitor Ingestion, Monitor Query needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@lewism77
Copy link

lewism77 commented May 17, 2024

Is your feature request related to a problem? Please describe.
Currently it's not possible to add customMetrics/measurements to a custom event in App Insights. This is possible with other SDKs (e.g. .NET - telemetryclient.trackevent)

Describe the solution you'd like
Adding an optional parameter to track_event for the metrics would bring it in line with other SDKs.

Describe alternatives you've considered
I have looked at TrackMetric but specifically I want to add metrics to custom events (as I could in the .NET SDK). As a temporary workaround I'm converting the values to strings and adding it to the customDimensions.

Additional context
I was redirected to this repo's issues page from this repo: https://github.com/microsoft/ApplicationInsights-Python

Any workarounds for this would be welcome also.

@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Monitor Monitor, Monitor Ingestion, Monitor Query needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. labels May 17, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzmonActionG @azmonALERTS @AzMonEssential @AzmonLogA @dadunl @sameergMS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Monitor Monitor, Monitor Ingestion, Monitor Query needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

1 participant