Skip to content

Commit

Permalink
Nit fixes to prometheus readme (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas authored Aug 9, 2022
1 parent b8385a8 commit d5bfce8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/OpenTelemetry.Exporter.Prometheus.AspNetCore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ to scrape.
### Step 1: Install Package

```shell
dotnet add package OpenTelemetry.Exporter.Prometheus.AspNetCore
dotnet add package --prerelease OpenTelemetry.Exporter.Prometheus.AspNetCore
```

### Step 2: Configure OpenTelemetry MeterProvider

* When using
[OpenTelemetry.Extensions.Hosting](../OpenTelemetry.Extensions.Hosting/README.md)
package on .NET Core 3.1+:
package on .NET 6.0+:

```csharp
services.AddOpenTelemetryMetrics(builder =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ instance for Prometheus to scrape.
### Step 1: Install Package

```shell
dotnet add package OpenTelemetry.Exporter.Prometheus.HttpListener
dotnet add package --prerelease OpenTelemetry.Exporter.Prometheus.HttpListener
```

### Step 2: Add PrometheusHttpListener
Expand Down

0 comments on commit d5bfce8

Please sign in to comment.