summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cli/configuration.md2
-rw-r--r--docs/telemetry.md6
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md
index d95793f1..963c7f32 100644
--- a/docs/cli/configuration.md
+++ b/docs/cli/configuration.md
@@ -435,6 +435,8 @@ Arguments passed directly when running the CLI can override other configurations
- Sets the telemetry target. See [telemetry](../telemetry.md) for more information.
- **`--telemetry-otlp-endpoint`**:
- Sets the OTLP endpoint for telemetry. See [telemetry](../telemetry.md) for more information.
+- **`--telemetry-otlp-protocol`**:
+ - Sets the OTLP protocol for telemetry (`grpc` or `http`). Defaults to `grpc`. See [telemetry](../telemetry.md) for more information.
- **`--telemetry-log-prompts`**:
- Enables logging of prompts for telemetry. See [telemetry](../telemetry.md) for more information.
- **`--checkpointing`**:
diff --git a/docs/telemetry.md b/docs/telemetry.md
index 68c3aed2..6767e349 100644
--- a/docs/telemetry.md
+++ b/docs/telemetry.md
@@ -74,7 +74,11 @@ gemini --telemetry \
## Running an OTEL Collector
An OTEL Collector is a service that receives, processes, and exports telemetry data.
-The CLI sends data using the OTLP/gRPC protocol.
+The CLI can send data using either the OTLP/gRPC or OTLP/HTTP protocol.
+You can specify which protocol to use via the `--telemetry-otlp-protocol` flag
+or the `telemetry.otlpProtocol` setting in your `settings.json` file. See the
+[configuration docs](./cli/configuration.md#--telemetry-otlp-protocol) for more
+details.
Learn more about OTEL exporter standard configuration in [documentation][otel-config-docs].