Skip to content

Ability to change metrics URL in docker container #3645

Answered by carlesarnal
gr8routdoors asked this question in Q&A
Discussion options

You must be logged in to vote

Feature or Problem Description

My organization uses a different URL than the default /metrics specified in the Micrometer spec. I see that the quarkus-micrometer-registry-prometheus extension supports the quarkus.micrometer.export.prometheus.path property for changing the URL in its config reference, but I've tried settings this directly as an environment variable and a property in a JAVA_OPTIONS environment variable for the docker container with no luck.

Proposed Solution

I'm probably missing something obvious (maybe this exists already), but ideally, all quarkus properties are overrideable by environment variables in the docker container - as this is the most ubiquitous way to configur…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by carlesarnal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #3547 on September 12, 2023 09:12.