question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Micrometer extension allow to change root-path

See original GitHub issue

Description

like for example quarkus.smallrye-health.root-path having a similar option for eg: quarkus.micrometer.root-path or similar

to allow to define a different url from /q/metrics (in this case for the /q part)

Implementation ideas

it should be enough to add that config property to the “root-path” to have the overriden option for the /q

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Raffaellocommented, Nov 13, 2021

yes. Thanks.

1reaction
ebullientcommented, Nov 13, 2021

Would this be clearer?

The path for the prometheus metrics endpoint (produces text/plain). The default value is metrics and is resolved relative to the non-application endpoint (q), e.g. ${quarkus.http.root-path}/${quarkus.http.non-application-root-path}/metrics. If an absolute path is specified (/metrics), the prometheus endpoint will be served from the configured path.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Path resolution in Quarkus
Let's change the HTTP root path to /root so the impact it has on resource resolution is visible: quarkus.http.root-path=/root. quarkus.http.non- ...
Read more >
Release Notes for Red Hat build of Quarkus 1.11
NEW MICROMETER METRICS EXTENSION FOR MONITORING YOUR QUARKUS APPLICATIONS ... is set to /, and the root path for non-application endpoints ...
Read more >
ROOTPATH configuration parameter
Use the ROOTPATH configuration parameter to specify the full path name, including the device or file name, of the initial chunk of the...
Read more >
Home of Quarkus Cheat-Sheet - GitHub Pages
Quarkus comes with extensions to integrate with some libraries such as JSON-B, ... This allows you to get instant feedback on your code...
Read more >
Thermo ScientificTM AmiraTM Software 6
Amira provides a large number of data types and modules allowing you to visualize, ... XImagePAQ Extension provides an extensive set of tools...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found