Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Prometheus] Update changelog and minor cleanup. #3512

Merged
merged 11 commits into from
Aug 2, 2022
15 changes: 8 additions & 7 deletions src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down