From 3130372f3bdc34573015a973aa64de64f8bff677 Mon Sep 17 00:00:00 2001 From: Robert Coltheart Date: Wed, 6 Dec 2023 13:43:01 +1100 Subject: [PATCH] Fix build --- .../PrometheusExporterMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/PrometheusExporterMiddleware.cs b/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/PrometheusExporterMiddleware.cs index 747966dc89..0c1df5ef4a 100644 --- a/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/PrometheusExporterMiddleware.cs +++ b/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/PrometheusExporterMiddleware.cs @@ -68,7 +68,7 @@ public async Task InvokeAsync(HttpContext httpContext) try { - var openMetricsRequested = this.AcceptsOpenMetrics(httpContext.Request); + var openMetricsRequested = AcceptsOpenMetrics(httpContext.Request); var collectionResponse = await this.exporter.CollectionManager.EnterCollect(openMetricsRequested).ConfigureAwait(false); try