Skip to content

Add deduplication attribute to metrics #310

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

Closed
wants to merge 1 commit into from

Conversation

phbnf
Copy link
Collaborator

@phbnf phbnf commented May 15, 2025

This PR allows each handler to return additional attributes to be set on the monitoring metrics, and uses this to set the duplicate attribute. It's not the cleanest way of doing this, and I'm hoping to refactor the whole handler setup at some point, but it's okay for now.

The same applies for how handlers detect whether or not an entry has been deduped with timestamp, I think we can do better and cleaner, but let's get back to this later.

@phbnf phbnf requested a review from roger2hk May 15, 2025 11:14
@phbnf phbnf marked this pull request as ready for review May 15, 2025 11:14
@phbnf phbnf marked this pull request as draft May 15, 2025 11:16
@phbnf phbnf closed this May 15, 2025
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