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: README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,11 @@ This repository is for [K6 output extension](https://k6.io/docs/extensions/). Th
4
4
5
5
## Usage
6
6
7
-
Get the Extended K6 Binary
7
+
The released binary is expected to run in containers or linux-like hosts of `amd64` architecture.
8
+
For Windows 10+ environments you can run it in WSL2.
9
+
For other environments, please build your version from sources.
10
+
11
+
### Get the pre-build extended K6 binary
8
12
9
13
- Find the [latest release}(https://github.com/mdsol/xk6-output-otlp/releases).
10
14
- Download `k6.tar.gz` archive, and extract the `k6` binary with
@@ -13,12 +17,6 @@ Get the Extended K6 Binary
13
17
tar -xvzf k6.tar.gz
14
18
```
15
19
16
-
- Run K6 tests like
17
-
18
-
```sh
19
-
./k6 run --out otlp --config <config-file><test-file>
20
-
```
21
-
22
20
### Configuration
23
21
24
22
Configuration parameters can be set in a JSON configuration file or using environment variables:
@@ -59,6 +57,12 @@ Environment variables:
59
57
|`K6_OTLP_TREND_CONVERSION`|`gauges`|`gauges` or `histogram`. Conversion type for metrics of type `trend`. |
60
58
|`K6_OTLP_SERVER_URL`|`http://localhost:8080/v1/metrics`| OTLP metrics endpoint url. Usually ends with `/v1/metrics`|
61
59
60
+
### Run K6 tests like
61
+
62
+
```sh
63
+
./k6 run --out otlp --config <config-file><test-file>
64
+
```
65
+
62
66
## K6 Metrics Conversion
63
67
64
68
The Grafana K6 testing utility uses a metric model that requires some metrics conversion before sending to Opentelemetry Collector or other OTLP receiver.
0 commit comments