You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
Simplest approach is the following from an application point of view. This way AppMetrics doesn't need any custom configuration of sorts or a dependency on IConfiguration
var influxOptions = new MetricsReportingInfluxDbOptions();
configuration.GetSection(nameof(MetricsReportingInfluxDbOptions)).Bind(influxOptions);
...
builder.Report.ToInfluxDb(influxOptions);
...
Before finding this, I have read your docs, and haven't find the way to do this. It is worth adding to the documentation. Also it would be great if such things could be available out of the box.
Dependency on Microsoft DI and Configuration has been removed by default, still require a way to load settings from config
The text was updated successfully, but these errors were encountered: