Skip to content

gerberasa/Metrics.NET.RabbitMQ

 
 

Repository files navigation

Metrics.NET.RabbitMQ

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.

About

RabbitMQ reporter for Metrics.NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.8%
  • Batchfile 6.1%
  • Shell 1.1%