Telemetry.Metrics v0.5.0 Telemetry.Metrics.Counter View Source

Defines a specification of counter metric.

Link to this section Summary

Link to this section Types

Specs

t() :: %Telemetry.Metrics.Counter{
  description: Telemetry.Metrics.description(),
  event_name: :telemetry.event_name(),
  keep: (:telemetry.event_metadata() -> boolean()),
  measurement: Telemetry.Metrics.measurement(),
  name: Telemetry.Metrics.normalized_metric_name(),
  reporter_options: Telemetry.Metrics.reporter_options(),
  tag_values: (:telemetry.event_metadata() -> :telemetry.event_metadata()),
  tags: Telemetry.Metrics.tags(),
  unit: Telemetry.Metrics.unit()
}