-
Notifications
You must be signed in to change notification settings - Fork 104
ref(kafka): Add producer_name tag, and more rdkafka stats #5031
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
Conversation
ref STREAM-324 * The producer_name tag identifies a particular producer instance in Relay. It's almost identical to broker_name, but broker_name is not generally available because in theory one producer can talk to many brokers (though relay doesn't do that), and some statistics are related to the producer's internal datastructures and don't have that tag. Also, we're going to add this tag to other producers in other services. With a bit of luck we might even have a proper generic dashboard for all of our producers in our entire infrastructure.. someday. * Add a few metrics that we think might be useful to see if Relay is impacted by a broker being unhealthy. Aside, it would be really nice if Relay moved to rust-arroyo for producing. I'm implementing the same metrics there. Or maybe not its entire producer wrapper but at least reusing its stats callback.
@Dav1dde asking for another review because I decided to align some additional metrics with arroyo. if you rely on these metric names in alerts we can also align arroyo with relay instead. |
ref STREAM-324 See getsentry/relay#5031 for context
I don't think so, but we do have them in the Relay dashboard, would be appreciated if you can take a look and update them if necessary. Otherwise regarding the metrics and their values, I'll just leave that to you, you're the expert on that. |
ref STREAM-324 See getsentry/relay#5031 for context
ref STREAM-324 see getsentry/arroyo#479 and getsentry/relay#5031 --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
ref STREAM-324 see getsentry/arroyo#479 and getsentry/relay#5031 --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
ref STREAM-324
The producer_name tag identifies a particular producer instance in
Relay. It's almost identical to broker_name, but broker_name is not
generally available because in theory one producer can talk to many
brokers (though relay doesn't do that), and some statistics are
related to the producer's internal datastructures and don't have that
tag.
Also, we're going to add this tag to other producers in other
services (and we have many producers in getsentry talking to a
single broker there), so it pays off to be consistent. With a bit
of luck we might even have a proper generic dashboard for all of
our producers in our entire infrastructure..
someday.
Add a few metrics that we think might be useful to see if Relay is
impacted by a broker being unhealthy.
Aside, it would be really nice if Relay moved to rust-arroyo for
producing. I'm implementing the same metrics there. Or maybe not its
entire producer wrapper but at least reusing its stats callback.