InfluxDB Reporter
Metrics can be reported to InfluxDB using the App.Metrics.Extensions.Reporting.InfluxDB nuget package.
- First see the getting started guide.
- 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.