snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

/metrics uri in generated kubernetes.yml is wrong #271

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug Quarkus (currently) prefixes all technical (non-application uri's) by /q. In kubernetes.yml this works perfect for liveness and readyness url's, but /metrics is added as is

prometheus.io/path: /metrics

Expected behavior The created path should be prometheus.io/path: /q/metrics (or instead of /q the configured non-application-root-path).

Actual behavior (Describe the actual behavior clearly and concisely.)

To Reproduce

Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).

Or attach an archive containing the reproducer to the issue.

Steps to reproduce the behavior:

  1. add metrics and kubernetes extensions to the project
  2. let kubernetes.yml get generated

Configuration

# Add your application.properties here, if applicable.

Screenshots (If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

Additional context (Add any other context about the problem here.)


https://github.com/quarkusio/quarkus/issues/15118


$upstream:15118$