Skip to content

Commit

Permalink
Add endpoint for prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmayer-dev committed Feb 6, 2024
1 parent b9f4bcd commit e4a393f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MacroDeck.UpdateService/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
app.UseMiddleware<ExceptionHandlingMiddleware>();
app.UseEndpoints(endpoints =>
{
endpoints.MapPrometheusScrapingEndpoint();
endpoints.MapControllers();
});
}
Expand Down

0 comments on commit e4a393f

Please sign in to comment.