Skip to content

Commit

Permalink
Update changelog and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dszmigielski committed Sep 9, 2022
1 parent 8e349c1 commit 2a8373a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Bug fix for Prometheus Exporter reporting StatusCode 204
instead of 200, when no metrics are collected

## 1.4.0-alpha.2

Released 2022-Aug-18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Bug fix for Prometheus Exporter reporting StatusCode 204
instead of 200, when no metrics are collected

## 1.4.0-alpha.2

Released 2022-Aug-18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ private static async Task RunPrometheusExporterMiddlewareIntegrationTest(
}
else
{
Assert.Equal(HttpStatusCode.NoContent, response.StatusCode);
Assert.Equal(HttpStatusCode.Ok, response.StatusCode);
}

validateResponse?.Invoke(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private async Task RunPrometheusExporterHttpServerIntegrationTest(bool skipMetri
}
else
{
Assert.Equal(HttpStatusCode.NoContent, response.StatusCode);
Assert.Equal(HttpStatusCode.Ok, response.StatusCode);
}
}
}
Expand Down

0 comments on commit 2a8373a

Please sign in to comment.