Skip to content

Commit d209c1e

Browse files
Improve polling producer error handling (#47)
1 parent b1254be commit d209c1e

20 files changed

+1055
-158
lines changed

docs/observability/built-in-instrumentation.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ Here's an example trace, when producing a batch of messages, which includes the
2828

2929
## Metrics
3030

31-
Finally, OutboxKit also exposes some metrics. Metrics exposed include number of batches produced, number of messages produced, and number of processed messages cleaned.
31+
Finally, OutboxKit also exposes some metrics.
32+
33+
Metrics exposed include:
34+
35+
- number of batches produced
36+
- number of messages produced
37+
- number of processed messages cleaned
38+
- polling cycles and their results
39+
- produced messages pending completion, the amount of retry attempts and messages retried
3240

3341
Below you can see a sample dashboard, but note that only the final row is from OutboxKit, the others are from other sources.
3442

samples/mysql/MySqlEndToEndPollingSample/Producer/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using YakShaveFx.OutboxKit.Core;
99
using YakShaveFx.OutboxKit.MySql;
1010
using Dapper;
11-
using Microsoft.AspNetCore.Mvc;
1211
using MySqlEndToEndPollingSample.ProducerShared;
1312
using RabbitMQ.Client;
1413
using YakShaveFx.OutboxKit.Core.OpenTelemetry;

0 commit comments

Comments
 (0)