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

Adding a custom label to Temporal out-of-the-box metric #6754

Open
goldtigerstone opened this issue Nov 5, 2024 · 0 comments
Open

Adding a custom label to Temporal out-of-the-box metric #6754

goldtigerstone opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@goldtigerstone
Copy link

Is your feature request related to a problem? Please describe.
The default out-of-the-box metrics have been very helpful. Meanwhile, I thought adding custom labels (dimensions) to these metrics would offer more precise insights for troubleshooting.

For example, we are submitting thousands of WorkflowA instances, each with multiple subtype values. While temporal_workflow_failed is a useful metric for tracking failures, we would have better insights if we could add subtype as a custom label in the metric, such as temporal_workflow_failed{..., subtype=...}.

Describe the solution you'd like
When adding a custom Search Attribute, it would be helpful if Temporal provided an option to include these attributes as metric labels. This would make it easier to centralize and use custom Search Attributes directly in metric labels.

Describe alternatives you've considered
If it were possible to reference and copy the default out-of-the-box metrics within workflow or activity code, we could modify these metrics to include additional labels.

Additional context
Add any other context or screenshots about the feature request here.

@goldtigerstone goldtigerstone added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant