MetricLabels

sttp.tapir.server.metrics.MetricLabels
See theMetricLabels companion object
case class MetricLabels(forRequest: List[(String, (AnyEndpoint, ServerRequest) => String)], forResponse: List[(String, Either[Throwable, ServerResponse[_]] => String)], forResponsePhase: ResponsePhaseLabel)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def namesForRequest: List[String]
def namesForResponse: List[String]
def valuesForRequest(ep: AnyEndpoint, req: ServerRequest): List[String]
def valuesForResponse(res: ServerResponse[_]): List[String]
def valuesForResponse(ex: Throwable): List[String]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product