You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sources/next/using-k6/metrics/_index.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,10 @@ To make a test fail a certain criteria, you can write a [Threshold](https://graf
21
21
To filter metrics, you can use [Tags and groups](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/tags-and-groups).
22
22
You can also export metrics in various summary and granular formats, as documented in [Results output](https://grafana.com/docs/k6/<K6_VERSION>/results-output).
|[Built-in metrics](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/metrics/reference)| Each built-in metric for each supported [protocol](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/protocols)|
27
-
|[Create custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/metrics/create-custom-metrics)| How to build your own metric for each metric type |
27
+
|[Create custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/metrics/create-custom-metrics)| How to build your own metric for each metric type |
28
28
29
29
## What metrics to look at?
30
30
@@ -42,7 +42,7 @@ However, if you're unsure about the metrics to focus on, you can start with the
42
42
In other terminology, these metrics measure traffic (in requests), availability (in error rate), and latency (in request duration).
43
43
SREs might recognize these metrics as three of the [four Golden Signals](https://sre.google/sre-book/monitoring-distributed-systems/#xref_monitoring_golden-signals).
44
44
45
-
{{% /admonition %}}
45
+
{{% /admonition %}}
46
46
47
47
## Example output
48
48
@@ -111,8 +111,7 @@ For details of all metrics, refer to the [Metrics reference](https://grafana.com
111
111
112
112
Metric names must comply with OpenTelemetry and [Prometheus limitations](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). The character limit is the same limit k6 had before restricting the character set down.
113
113
114
-
That means they must not start with a number and a metric name can be 1 to 128 symbols of:
114
+
That means metrics names must:
115
115
116
-
1. any Unicode Letters
117
-
2. any Unicode Number
118
-
3. `_` (an underscore)
116
+
- Include up to 128 symbols (ASCII letters, numbers, or underscores).
0 commit comments