Repository navigation
Make Prometheus endpoint take Accept header into account - #4674
Conversation
Codecov ReportBase: 60.86% // Head: 60.86% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #4674 +/- ##
=============================================
- Coverage 60.86% 60.86% -0.01%
Complexity 12333 12333
=============================================
Files 1594 1594
Lines 63814 63814
Branches 6998 6998
=============================================
- Hits 38843 38841 -2
- Misses 22794 22796 +2
Partials 2177 2177
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Opened to suggestions on how to best test this. |
|
We should probably always return |
You are right; in my latest commit I added support for both Prometheus and OpenMetrics format based on the |
|
BTW, if BlahBlahCar is using OTP in production, we would love to hear about it. Lots of core developers chat on https://gitter.im/opentripplanner/OpenTripPlanner and we have video meetings twice a week. |
…t provided in the request.
Summary
closes #4673 by adding a wildcard
@Produceson the/otp/actuators/prometheusendpoint method.