Home

Awesome

prom-client-metricpusher-hostedservice

ci nuget nuget codecov codefactor license

Extension for Prometheus.Client

Installation

dotnet add package Prometheus.Client.MetricPusher.HostedService

Use

Examples

var metricPusher = new MetricPusher(new MetricPusherOptions
{
    Endpoint = "http://localhost:9091",
    Job = "pushgateway",
    Instance = "instance"
});
services.AddMetricPusherService(metricPusher);

Contribute

Contributions to the package are always welcome!

License

All contents of this package are licensed under the MIT license.