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/results-output/real-time/opentelemetry.md
+6-34Lines changed: 6 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,16 @@
1
1
---
2
2
title: 'OpenTelemetry'
3
-
description: 'Use the OpenTelemetry output extension to send test results in OTEL metrics format.'
3
+
description: 'Use the OpenTelemetry experimental output to send test results in OTEL metrics format.'
4
4
weight: 00
5
5
---
6
6
7
7
# OpenTelemetry
8
8
9
-
Grafana k6 can push test run metrics in the [OpenTelemetry (OTEL) metrics format](https://opentelemetry.io/docs/specs/otel/metrics/) to an OTEL metrics collector or a metrics backend that supports the OTEL metrics format by using the [xk6-output-opentelemetry extension](https://github.com/grafana/xk6-output-opentelemetry/).
9
+
Grafana k6 can push test run metrics in the [OpenTelemetry (OTEL) metrics format](https://opentelemetry.io/docs/specs/otel/metrics/) to an OTEL metrics collector or a metrics backend that supports the OTEL metrics format by using the experimental OpenTelemetry output`--out experimental-opentelemetry`.
10
10
11
-
{{< admonition type="note" >}}
11
+
Note that the `experimental-opentelemetry` became a part of k6 only with k6 v0.53.0, so prior that version you should use the [xk6-output-opentelemetry extension](https://github.com/grafana/xk6-output-opentelemetry/).
12
12
13
-
This is an extension, and we're looking for feedback and contributions and aiming to graduate it as an experimental output within Grafana k6 in a future release. Feel free to [open an issue](https://github.com/grafana/xk6-output-opentelemetry/issues) if you have any feedback or suggestions.
14
-
15
-
{{< /admonition >}}
13
+
For any feedback, bugs or suggestions feel free to [open an issue](https://github.com/grafana/xk6-output-opentelemetry/issues) directly in the output repository. Contributions are also welcome!
16
14
17
15
## Metrics mapping
18
16
@@ -25,40 +23,14 @@ k6 converts all [k6 metric types](https://grafana.com/docs/k6/<K6_VERSION>/using
25
23
| Rate | Split into two `Int64Counter` counters named `metric_name.occurred` and `metric_name.total`. `metric_name.occurred` counts only the number of non-zero occurrences, and `metric_name.total` registers the total number of positive and negative occurrences. This might change in the future, refer to [xk6-output-opentelemetry#12](https://github.com/grafana/xk6-output-opentelemetry/issues/12) for more details. |
26
24
| Trend |`Float64Histogram`|
27
25
28
-
## Build the k6 version
29
-
30
-
To build a k6 binary with the extension, first, make sure you have [Go](https://golang.org/doc/install) and [Git](https://git-scm.com/) installed on your machine.
31
-
32
-
Then, open your terminal and run the following commands:
0 commit comments