Skip to content

Clarify WithTags behaviour in metrics handler#1975

Merged
Quinn-With-Two-Ns merged 1 commit intotemporalio:masterfrom
Ozoniuss:update-docs-for-metrics-handler
Jun 23, 2025
Merged

Clarify WithTags behaviour in metrics handler#1975
Quinn-With-Two-Ns merged 1 commit intotemporalio:masterfrom
Ozoniuss:update-docs-for-metrics-handler

Conversation

@Ozoniuss
Copy link
Copy Markdown
Contributor

This explicitly states how WithTags should work with existing tags on the handler.

What was changed

Documentation only for the metrics handler interface.

Why?

I had implemented a custom handler and had a hard time figuring out why some tags I needed for alerting were missing. See slack thread.

Checklist

  1. Closes

  2. How was this tested:
    Not needed

  3. Any docs updates needed?
    Not sure as I don't remember seeing this in the documentation. Honestly I figured it out by looking at how the uber-go/tally package implements it and asking on slack. I think having it in the metrics handler interface is good enough but let me know if you also want it included somewhere in the documentation.

@Ozoniuss Ozoniuss requested a review from a team as a code owner June 17, 2025 09:18
@Ozoniuss
Copy link
Copy Markdown
Contributor Author

Failures may be flaky? I only updated documentation

This explicitly states how WithTags should work with existing tags
on the handler.
@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the update-docs-for-metrics-handler branch from d19b7cf to 4c8b172 Compare June 22, 2025 23:20
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit a569259 into temporalio:master Jun 23, 2025
21 of 23 checks passed
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