-
Notifications
You must be signed in to change notification settings - Fork 94
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
fix(statsd): Emit specific event type tags for "processing.event.produced" metric #1270
Conversation
…uced" metric This, for example, fixes the case when transactions are reported as generic "events".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if there's a way to check whether we have alerts/SLOs set up that filter on this tag
More so, we use this same tag for every message type that is produced to one of the kafka ingest streams, including metrics, sessions, and user feedback. So far I've been reluctant to change it just to avoid breaking existing alerts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Note that this will now create two new tag values besides event
: transaction
and security
. The latter is merely a protocol artifact, but otherwise behaves exactly like event
in Kafka and during ingestion.
Depending on what you want to measure here, it seems to me that you actually just want to single out transactions. In that case, you could use the item type to detect transactions, and otherwise keep event
.
@tonyo @jan-auer @untitaker I wonder if it would be possible to add the same tag to the relay/relay-kafka/src/statsd.rs Line 19 in 24eea69
|
@mwarkentin I added a |
@jjbayer I am trying to use these two metrics in combination for an SLO metric in Datadog, so I need the same tag on each - either |
This, for example, fixes the case when transactions are reported as generic "events".
Note: as discussed internally,
event_type
might not be the best name for this tag anymore, since "event" actually means "error" in some contexts.