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

feat: add error metrics to target and source #27

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Conversation

kalbhor
Copy link
Collaborator

@kalbhor kalbhor commented Jul 25, 2024

No description provided.

Copy link
Member

@joeirimpan joeirimpan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@knadh
Copy link
Contributor

knadh commented Jul 26, 2024

Looks fine, but if these are in hotpaths that trigger a very large number of times per sec, that sprintf is going to show up in alloc graphs.

@kalbhor
Copy link
Collaborator Author

kalbhor commented Jul 26, 2024

These are only error metrics, so I think it should avoid hotpaths. Only scenario I can think of is if a node goes down and we keep incrementing failure metric under the background health checker

@knadh knadh merged commit 05fce61 into zerodha:main Jul 26, 2024
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.

3 participants