Skip to content

Commit

Permalink
Nit fixes to prometheus asp.net core (#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas authored Aug 1, 2022
1 parent 6c616c1 commit 0187a2a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

#if NETCOREAPP3_1_OR_GREATER

using System;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
Expand Down Expand Up @@ -150,4 +148,3 @@ public static IApplicationBuilder UseOpenTelemetryPrometheusScrapingEndpoint(
}
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

#if NETCOREAPP3_1_OR_GREATER

using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
Expand Down Expand Up @@ -108,4 +106,3 @@ public static IEndpointConventionBuilder MapPrometheusScrapingEndpoint(
}
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

#if NETCOREAPP3_1_OR_GREATER
using System;
using System.Diagnostics;
using System.Threading.Tasks;
Expand Down Expand Up @@ -102,4 +101,3 @@ public async Task InvokeAsync(HttpContext httpContext)
}
}
}
#endif

0 comments on commit 0187a2a

Please sign in to comment.