metricName

Specifies the base name (prefix) of Ktor metrics used for monitoring HTTP requests. For example, the default "ktor.http.server.requests" values results in the following metrics:

  • "ktor.http.server.requests.active"

  • "ktor.http.server.requests.seconds.max"

If you change it to "custom.metric.name", the mentioned metrics will look as follows:

  • "custom.metric.name.active"

  • "custom.metric.name.seconds.max"

See also