sttp.tapir.server.metrics.datadog.DatadogMetrics
See theDatadogMetrics companion class
object DatadogMetrics
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DatadogMetrics.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Using the default namespace and labels, registers the following metrics:
Using the default namespace and labels, registers the following metrics:
$namespace.request_active.count|c|#path, method
(counter)$namespace.request_total.count|c|#path, method, status}
(counter)$namespace.request_duration_seconds.xxx|h|#path, method, status, phase}
(histogram)
Status is by default the status code class (1xx, 2xx, etc.), and phase can be either headers
or body
- request duration is measured separately up to the point where the headers are determined, and then once again when the whole response body is complete.
Attributes
def requestActive[F[_]](client: StatsDClient, namespace: String, labels: MetricLabels): Metric[F, Counter]
def requestDuration[F[_]](client: StatsDClient, namespace: String, labels: MetricLabels, clock: Clock): Metric[F, Histogram]
def requestTotal[F[_]](client: StatsDClient, namespace: String, labels: MetricLabels): Metric[F, Counter]
In this article