MetricsOpsBuilder

com.avast.datadog4s.extension.http4s.MetricsOpsBuilder
See theMetricsOpsBuilder companion object
final case class MetricsOpsBuilder[F[_]]

Attributes

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

Members list

Value members

Concrete methods

def build(): F[MetricsOps[F]]
def setClassifierTags(newClassifierTags: ClassifierTags): MetricsOpsBuilder[F]

Function for computing tags based on provided classifier. By default uses MetricsOpsBuilder.defaultClassifierTags

Function for computing tags based on provided classifier. By default uses MetricsOpsBuilder.defaultClassifierTags

Attributes

Force MetricOps to use DistributionFactory for counting http4s requests. This is useful in serverless models like AWS Lambda to aggregate all counter values. For more info see Datadog documentation.

Force MetricOps to use DistributionFactory for counting http4s requests. This is useful in serverless models like AWS Lambda to aggregate all counter values. For more info see Datadog documentation.

Attributes

Force MetricOps to use TimerFactory.distribution for timing http4s requests. For the implications please see TimerFactory.distribution scaladoc.

Force MetricOps to use TimerFactory.distribution for timing http4s requests. For the implications please see TimerFactory.distribution scaladoc.

Attributes

Force MetricOps to use Count for counting http4s requests. This is sufficient for requests on servers where the host is automatically added as a tag. For more info see Datadog documentation.

Force MetricOps to use Count for counting http4s requests. This is sufficient for requests on servers where the host is automatically added as a tag. For more info see Datadog documentation.

Attributes

Force MetricOps to use TimerFactory.histogram for timing http4s requests. For the implications please see TimerFactory.histogram scaladoc.

Force MetricOps to use TimerFactory.histogram for timing http4s requests. For the implications please see TimerFactory.histogram scaladoc.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product