summaryrefslogtreecommitdiff
path: root/docs/reference/test-metrics.md
blob: a1af41e1f07d9a0f527ab57e72a065d40ccdc39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Test Metrics

Generated metrics use the `epimetheus_test_` prefix so they are easy to identify as test data.

## Counter: `epimetheus_test_requests_total`

- **Type:** Counter (monotonically increasing)
- **Description:** Total number of requests processed
- **Use case:** Total events, requests, errors

## Gauge: `epimetheus_test_active_connections`

- **Type:** Gauge (can increase or decrease)
- **Description:** Current number of active connections (0–100)
- **Use case:** Current state, capacity

## Gauge: `epimetheus_test_temperature_celsius`

- **Type:** Gauge
- **Description:** Current temperature in Celsius (0–50°C)
- **Use case:** Environmental monitoring

## Histogram: `epimetheus_test_request_duration_seconds`

- **Type:** Histogram (distribution)
- **Description:** Request duration distribution
- **Buckets:** 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10 seconds
- **Use case:** Latency, SLO tracking

## Labeled counter: `epimetheus_test_jobs_processed_total`

- **Type:** Counter with labels
- **Description:** Jobs processed by type and status
- **Labels:** `job_type` (email, report, backup), `status` (success, failed)
- **Use case:** Categorized counting, multi-dimensional metrics