summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBilly Biggs <[email protected]>2025-08-15 18:10:21 -0700
committerGitHub <[email protected]>2025-08-16 01:10:21 +0000
commitd57cc0b9306f0359482ef6e243308bcda2989007 (patch)
tree3ec6a716d0a5b8d9c6cacc8a1231d05df6ba43fd /docs
parent4896c7739f57b4e475754854c217cdd1dbf7deaa (diff)
Add support for HTTP OpenTelemetry exporters (#6357)
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].