line / armeria

Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
https://armeria.dev
Apache License 2.0
4.8k stars 912 forks source link

Add armeria-prometheus1 module for Prometheus version 1 and deprecate older classes. #5698

Closed minwoox closed 4 months ago

minwoox commented 4 months ago

Motivation: Micrometer 1.13.0 updates its Prometheus dependency from 0.x to 1.x. In Prometheus 1.x, the package of PrometheusMeterRegistry has changed and CollectorRegistry is no longer used. More details can be found in the migration guide.

Modifications:

Result:

github-actions[bot] commented 4 months ago

🔍 Build Scan® (commit: eb77658f5a1f7a7d76567ef787b48d602de6027a)

Job name Status Build Scan®
build-windows-latest-jdk-21 https://ge.armeria.dev/s/bw3lau45t2bdo
build-self-hosted-unsafe-jdk-8 https://ge.armeria.dev/s/s5bf4rpsmgsbs
build-self-hosted-unsafe-jdk-21-snapshot-blockhound https://ge.armeria.dev/s/e7qm5nvdu5oac
build-self-hosted-unsafe-jdk-17-min-java-17-coverage https://ge.armeria.dev/s/melg6gp244i3m
build-self-hosted-unsafe-jdk-17-min-java-11 https://ge.armeria.dev/s/c2cxbdggyhavw
build-self-hosted-unsafe-jdk-17-leak https://ge.armeria.dev/s/2xs6uxoe2kngm
build-self-hosted-unsafe-jdk-11 https://ge.armeria.dev/s/zfu76z2cpugig
build-macos-12-jdk-21 https://ge.armeria.dev/s/k2ioguatwlyi2