Skip to content

OpenTelemetry Metrics for outbox messages #221

Answered by BEagle1984
mathmotta asked this question in Q&A
Discussion options

You must be logged in to vote

When you say "outbox" do you mean produced messages in general or do you refer to the outbox pattern?

Regardless, the consumers expose a very minimal StatusInfo that contains the count of consumed messages (per consumer, not per topic).

Furthermore, assuming that you are talking about Kafka, you also have the built-in statistics that can be consumed via the callback (they need to be enabled in the consumer configuration).

Finally, if you are talking about the outbox pattern, you can read some basic metrics like queue length and max age from the IOutboxReader.

Silverback doesn't export these metrics but they are available for you to be collected and published however you want.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathmotta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants