[Prometheus] Update changelog and minor cleanup. (#3512)

This commit is contained in:
Yun-Ting Lin 2022-08-01 17:07:42 -07:00 committed by GitHub
parent 0187a2a77a
commit f97d3386d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 15 deletions

View File

@ -2,11 +2,12 @@
## Unreleased
* Split up Prometheus projects based on its hosting mechanism, HttpListener and AspNetCore,
into their own projects and assemblies. The shared code for both hosting mechanism
now lives in the `OpenTelemetry.Exporter.Prometheus.Shared` project and will not
be released.
([#3430](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3430))
* Split up Prometheus projects based on its hosting mechanism,
HttpListener and AspNetCore, into their own projects
and assemblies.
([#3430](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3430)
[#3503](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3503)
[#3507](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3507))
* Added `IEndpointRouteBuilder` extension methods to help with Prometheus
middleware configuration on ASP.NET Core
@ -81,8 +82,8 @@ Released 2021-Sep-23
Released 2021-Sep-13
* Bug fixes
([#2289](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2289))
([#2309](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2309))
([#2289](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2289)
[#2309](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2309))
## 1.2.0-alpha2

View File

@ -2,11 +2,12 @@
## Unreleased
* Split up Prometheus projects based on its hosting mechanism, HttpListener and AspNetCore,
into their own projects and assemblies. The shared code for both hosting mechanism
now lives in the `OpenTelemetry.Exporter.Prometheus.Shared` project and will not
be released.
([#3430](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3430))
* Split up Prometheus projects based on its hosting mechanism,
HttpListener and AspNetCore, into their own projects
and assemblies.
([#3430](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3430)
[#3503](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3503)
[#3507](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3507))
## 1.3.0-rc.2
@ -77,8 +78,8 @@ Released 2021-Sep-23
Released 2021-Sep-13
* Bug fixes
([#2289](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2289))
([#2309](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2309))
([#2289](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2289)
[#2309](https://github.com/open-telemetry/opentelemetry-dotnet/issues/2309))
## 1.2.0-alpha2

View File

@ -25,7 +25,7 @@ namespace OpenTelemetry.Exporter.Prometheus
internal sealed class PrometheusHttpListener : IDisposable
{
private readonly PrometheusExporter exporter;
private readonly System.Net.HttpListener httpListener = new();
private readonly HttpListener httpListener = new();
private readonly object syncObject = new();
private CancellationTokenSource tokenSource;