RabbitMQ reporter for Metrics.NET
Nuget package.
Supports the followinging exchange types:
- topic
- fanout
- direct
Example:
Metric.Config
.WithAllCounters()
.WithInternalMetrics()
.WithReporting(config => config
.WithRabbitMQ(new RabbitMQReportsConfig
{
HostName = "localhost",
Password = "guest",
UserName = "guest"
}, TimeSpan.FromSeconds(3)));
Metrics.NET sends all pre-registered CLR counters and internal metics to RabbitMQ with the default exchange type "topic" and it uses the default exchanege "metrics" with "metrics" routing key.