https://kotlinlang.org logo
#ktor
Title
# ktor
s

Srki Rakic

04/14/2022, 9:59 PM
Hi 👋 . I there a way to expose micrometer/prometheus
GET /metrics
endpoint on a different port?
a

Andreas Scheja

04/14/2022, 10:14 PM
you could always just launch two `embeddedServer`s, one listening on your traffic port and the other just serving the metrics endpoint on a different port.
s

Srki Rakic

04/14/2022, 10:28 PM
Cool. Thank you.
24 Views