What is a Counter Monitoring Metric? ie Increasing counter)

Scale Counter Graph

About

A counter is a metrics type that:

  • increments its value by one starting from 0.
  • is reset to zero when:
    • the service restarts.
    • a maximum value is reached
  • is used to record occurrences of events
  • is plotted with a rate function into some specific interval.

This is the same as many counters in the world such as the mileage counter in a car.

Without rate aggregation over a time window, this metric is not really useful and represents only:

  • the velocity (the rapidity with which the counter is incremented)
  • and the longevity of the service.

Usage / Example

They are used to measure the rate (the throughput) at which some event is occurring over a given time interval.

Example:

  • the number of pages loaded
  • customer arrivals
  • in a queue, counters can measure things like the rate at which items are being inserted and removed.

Report

A counter reports:

  • the number of observations,
  • its current value
  • the minimum and maximum values.

Example

Micrometer

1)

Counter counter = Counter
    .builder("counter")
    .baseUnit("beans") // optional
    .description("a description of what this counter does") // optional
    .tags("region", "test") // optional
    .register(registry);





Discover More
System Metrics
CPU - (Metrics|Counter)

This page is counter / metrics for a CPU All metrics are System metrics. System Performance counters are CPU hardware registers that count hardware events such as instructions executed and cache-misses...
Card Puncher Data Processing
Event-Data Application

are event-driven application that reports / analyze the immutable event collected (without any notion of a pre-defined lifecycle). An event-driven application is a stateful application that: ingest...
Top Iowait
IO - Metrics (Monitoring|Measurement)

in IO. A collection of IO metrics explained. IO wait is the percentage of time that the CPU waits for the IO request. Example via : IOPS is the number of IO request per second also known as:...
Scale Counter Graph
Metrics Server

Metrics Server This page is software that can store and visualize counter (metrics. The collectors that sends data to a metrics server are: Metrics Collector Log Collector Instrumentation...
Scale Counter Graph
Monitoring Metrics - Gauge

A gauge is a metrics type that holds or return a single value (numeric or textual) where changes can only be observed in random order (increasing or decreasing order) or Gauge values are not...
Scale Counter Graph
Performance - (Throughput|Bandwidth|Transfer rate|Frequency)

Throughput is a performance metric showing the amount of data flow a system can support, measured by Example: hits per second, pages per second, and megabits of data per second. Improving...
Scale Counter Graph
Statsd

Stastd is a network daemon that: runs on the Node.js platform listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services...
Time - Time representation (Moment, Instant)

This section goes over the representation of time in a scalar way versus in a collection way (ie time series) Time is basically a numeric counter that increases over time. An instant in time can be represented...
Scale Counter Graph
What are the types of Metrics known as Statistical Collector?

This page is metrics as telemetry data context (realtime performance, monitoring of system) A telemetry metric is a time serie with: timestamped numerical value and optional labels Monitoring...



Share this page:
Follow us:
Task Runner