gerberasa / Metrics.NET.RabbitMQ

RabbitMQ reporter for Metrics.NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C# 92.8%Language:Batchfile 6.1%Language:Shell 1.1%