We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When enabling the management interface like this:
quarkus.management.enable=true quarkus.management.port=9000
the generated kubernetes manifests still use the main application server port in the prometheus scrape config labels.
deployment has following labels
prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "9000" prometheus.io/scheme: http
prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" prometheus.io/scheme: http
Reproducer Project: https://github.com/SIMULATAN/quarkus-kubernetes-management-metrics-reproducer
Reproduction steps:
mvn clean package
target/kubernetes/kubernetes.yml
uname -a
ver
Linux sim-15p-arch 6.6.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000 x86_64 GNU/Linux
java -version
21 Azul Systems, Inc.
3.6.0.CR1 & 3.6.0
mvnw --version
gradlew --version
Gradle 8.5-rc-3 & Maven 3.9.6
Reading through the source, it appears as if appropriate handling already exists for health checks and probes but not metrics.
The text was updated successfully, but these errors were encountered:
/cc @ebullient (metrics), @geoand (kubernetes), @iocanel (kubernetes), @jmartisk (metrics)
Sorry, something went wrong.
Hi, any progress with this issue? Having the same issue…
Can I try to get this one ?
Successfully merging a pull request may close this issue.
Describe the bug
When enabling the management interface like this:
the generated kubernetes manifests still use the main application server port in the prometheus scrape config labels.
Expected behavior
deployment has following labels
Actual behavior
deployment has following labels
How to Reproduce?
Reproducer Project: https://github.com/SIMULATAN/quarkus-kubernetes-management-metrics-reproducer
Reproduction steps:
mvn clean package
target/kubernetes/kubernetes.yml
Output of
uname -a
orver
Linux sim-15p-arch 6.6.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000 x86_64 GNU/Linux
Output of
java -version
21 Azul Systems, Inc.
Quarkus version or git rev
3.6.0.CR1 & 3.6.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.5-rc-3 & Maven 3.9.6
Additional information
Reading through the source, it appears as if appropriate handling already exists for health checks and probes but not metrics.
The text was updated successfully, but these errors were encountered: