Skip to content

Commit 8108a98

Browse files
committed
README.md
1 parent 4b33bb2 commit 8108a98

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prometheus .NET Client
1+
# Prometheus.Client
22

33
[![Build status](https://ci.appveyor.com/api/projects/status/ik6p8hv9he1cl0a9?svg=true)](https://ci.appveyor.com/project/phnx47/prometheus-client) [![License MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![NuGet Badge](https://buildstats.info/nuget/Prometheus.Client)](https://www.nuget.org/packages/Prometheus.Client/)
44

@@ -21,14 +21,12 @@ MetricServer: [Prometheus.Client.MetricServer](https://www.nuget.org/packages/Pr
2121
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IApplicationLifetime appLifetime)
2222
{
2323
var options = new PrometheusOptions();
24-
options.MapPath = "metrics";
25-
options.Collectors.Add(new DotNetStatsCollector());
2624
app.UsePrometheusServer(options);
2725
}
2826

2927
```
3028

31-
Or just this:
29+
Or Standalone this:
3230

3331
```csharp
3432

0 commit comments

Comments
 (0)