App Metrics 1.0 Fork me on GitHub
Show / Hide Table of Contents

InfluxDB Reporter

Metrics can be reported to InfluxDB using the App.Metrics.Extensions.Reporting.InfluxDB nuget package.

  1. First see the getting started guide.
  2. Configure the InfluxDB reporter as follows:
.AddReporting(factory =>
{
    factory.AddInfluxDb(new InfluxDBReporterSettings
    {
        HttpPolicy = new HttpPolicy
        {
            FailuresBeforeBackoff = 3,
            BackoffPeriod = TimeSpan.FromSeconds(30),
            Timeout = TimeSpan.FromSeconds(3)
        },
        InfluxDbSettings = new InfluxDBSettings("appmetricsapi", new Uri("http://127.0.0.1:8086")),
        ReportInterval = TimeSpan.FromSeconds(5)
    });
})

Web Monitoring

See the generic Grafana web dashboards provided.

  • Edit this Doc
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX