CustomMetricsOps

org.http4s.metrics.CustomMetricsOps
See theCustomMetricsOps companion object
trait CustomMetricsOps[F[_], SL <: SizedSeq[String]] extends MetricsOps[F]

Describes an algebra capable of writing metrics to a metrics registry

Attributes

Companion
object
Source
CustomMetricsOps.scala
Graph
Supertypes
trait MetricsOps[F]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Decreases the count of active requests

Decreases the count of active requests

Value parameters

classifier

the classifier to apply

customLabelValues

values for custom labels

Attributes

Source
CustomMetricsOps.scala

Attributes

Returns

the custom label object used to define this CustomMetricsOps

Source
CustomMetricsOps.scala

Increases the count of active requests

Increases the count of active requests

Value parameters

classifier

the classifier to apply

customLabelValues

values for custom labels

Attributes

Source
CustomMetricsOps.scala

Record abnormal terminations, like errors, timeouts or just other abnormal terminations.

Record abnormal terminations, like errors, timeouts or just other abnormal terminations.

Value parameters

classifier

the classifier to apply

customLabelValues

values for custom labels

elapsed

the time to record

terminationType

the type of termination

Attributes

Source
CustomMetricsOps.scala

Records the time to receive the response headers

Records the time to receive the response headers

Value parameters

classifier

the classifier to apply

customLabelValues

values for custom labels

elapsed

the time to record

method

the http method of the request

Attributes

Source
CustomMetricsOps.scala

Records the time to fully consume the response, including the body

Records the time to fully consume the response, including the body

Value parameters

classifier

the classifier to apply

customLabelValues

values for custom labels

elapsed

the time to record

method

the http method of the request

status

the http status code of the response

Attributes

Source
CustomMetricsOps.scala

Concrete methods

Decreases the count of active requests

Decreases the count of active requests

Value parameters

classifier

the classifier to apply

Attributes

Definition Classes
Source
CustomMetricsOps.scala

Increases the count of active requests

Increases the count of active requests

Value parameters

classifier

the classifier to apply

Attributes

Definition Classes
Source
CustomMetricsOps.scala
override def mapK[G[_]](fk: FunctionK[F, G]): CustomMetricsOps[G, SL]

Transform the effect of MetricOps using the supplied natural transformation

Transform the effect of MetricOps using the supplied natural transformation

Type parameters

G

the effect to transform to

Value parameters

fk

natural transformation

Attributes

Returns

a new metric ops in the transformed effect

Definition Classes
Source
CustomMetricsOps.scala

Record abnormal terminations, like errors, timeouts or just other abnormal terminations.

Record abnormal terminations, like errors, timeouts or just other abnormal terminations.

Value parameters

classifier

the classifier to apply

elapsed

the time to record

terminationType

the type of termination

Attributes

Definition Classes
Source
CustomMetricsOps.scala

Records the time to receive the response headers

Records the time to receive the response headers

Value parameters

classifier

the classifier to apply

elapsed

the time to record

method

the http method of the request

Attributes

Definition Classes
Source
CustomMetricsOps.scala

Records the time to fully consume the response, including the body

Records the time to fully consume the response, including the body

Value parameters

classifier

the classifier to apply

elapsed

the time to record

method

the http method of the request

status

the http status code of the response

Attributes

Definition Classes
Source
CustomMetricsOps.scala