Skip to content

prom-client-net/prom-client-metricpusher-hostedservice

Repository files navigation

Prometheus.Client.MetricPusher.HostedService

ci nuget nuget codecov license

Extension for Prometheus.Client

Install

dotnet add package Prometheus.Client.MetricPusher.HostedService

Use

Examples

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

Contribute

Contributions to the package are always welcome!

License

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

About

MetricPusher as HostedService

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Languages