Skip to content

Commit afbc32e

Browse files
committed
README.md
1 parent 486c237 commit afbc32e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
11
# Prometheus.Client.MetricServer
2+
3+
[![Build status](https://ci.appveyor.com/api/projects/status/pe2cpegs61b6tmi9?svg=true)](https://ci.appveyor.com/project/phnx47/prometheus-client-metricserver) [![License MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![NuGet Badge](https://buildstats.info/nuget/Prometheus.Client.MetricServer)](https://www.nuget.org/packages/Prometheus.Client.MetricServer/)
4+
5+
Extension for [Prometheus.Client](https://github.com/phnx47/Prometheus.Client)
6+
7+
## Quik start
8+
9+
10+
#### Install:
11+
12+
PM> Install-Package Prometheus.Client.MetricServer
13+
14+
#### Use:
15+
16+
```csharp
17+
18+
static void Main(string[] args)
19+
{
20+
IMetricServer metricServer = new MetricServer("localhost", 9091);
21+
metricServer.Start();
22+
...
23+
24+
var counter = Metrics.CreateCounter("test_count", "helptext");
25+
counter.Inc();
26+
...
27+
28+
metricServer.Stop();
29+
}
30+
```
31+
32+

0 commit comments

Comments
 (0)