From b3aa572e7d945b34f140345be3acccd6b6b584b4 Mon Sep 17 00:00:00 2001 From: Oleg Bespalov Date: Mon, 4 Nov 2024 13:40:18 +0100 Subject: [PATCH] otel-output: document service name and version --- docs/sources/k6/next/results-output/real-time/opentelemetry.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sources/k6/next/results-output/real-time/opentelemetry.md b/docs/sources/k6/next/results-output/real-time/opentelemetry.md index ce052cae68..58d99fe869 100644 --- a/docs/sources/k6/next/results-output/real-time/opentelemetry.md +++ b/docs/sources/k6/next/results-output/real-time/opentelemetry.md @@ -41,6 +41,8 @@ The following options can be configured: | Name | Value | | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `K6_OTEL_SERVICE_NAME` | The name of the service to use for the metrics exporting. Default value is `k6`. | +| `K6_OTEL_SERVICE_VERSION` | The version of the service to use for the metrics exporting. Default is version of the k6, e.g. `v0.54.0` | | `K6_OTEL_METRIC_PREFIX` | Metric prefix. Default is empty. | | `K6_OTEL_FLUSH_INTERVAL` | How frequently to flush metrics from k6 metrics engine. Default is `1s`. | | `K6_OTEL_EXPORT_INTERVAL` | Configures the intervening time between metrics exports. Default is `10s`. |