Extension for Prometheus.Client
dotnet add package Prometheus.Client.MetricPusher.HostedService
var metricPusher = new MetricPusher(new MetricPusherOptions
{
Endpoint = "http://localhost:9091",
Job = "pushgateway",
Instance = "instance"
});
services.AddMetricPusherService(metricPusher);
Contributions to the package are always welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at the package's git repository.
All contents of this package are licensed under the MIT license.