Skip to content

Commit b194336

Browse files
Fix command flag for GCP metrics export (#1763)
* Fix command flag for GCP metrics export * Additional related fixes for --otel_to_cloud flag --------- Co-authored-by: Kristopher Overholt <koverholt@google.com>
1 parent 2392b42 commit b194336

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/observability/logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ adk web path/to/your/agents_dir
107107

108108
#### GCP export setup
109109

110-
You can enable GCP export using the `-otel_to_cloud` flag:
110+
You can enable GCP export using the `--otel_to_cloud` flag:
111111

112112
```bash
113-
adk web -otel_to_cloud path/to/your/agents_dir
113+
adk web --otel_to_cloud path/to/your/agents_dir
114114
```
115115

116116
### Python programmatic setup

docs/observability/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ adk web path/to/your/agents_dir
5151
5252
#### GCP export
5353

54-
To enable metrics export to Google Cloud Monitoring, use the `-otel_to_cloud` flag:
54+
To enable metrics export to Google Cloud Monitoring, use the `--otel_to_cloud` flag:
5555

5656
```bash
57-
adk web -otel_to_cloud path/to/your/agents_dir
57+
adk web --otel_to_cloud path/to/your/agents_dir
5858
```
5959

6060
### Programmatic metrics export

docs/observability/traces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ adk web path/to/your/agents_dir
5050

5151
#### GCP export
5252

53-
To enable trace export to Google Cloud Trace, use the `-otel_to_cloud` flag:
53+
To enable trace export to Google Cloud Trace, use the `--otel_to_cloud` flag:
5454

5555
```bash
56-
adk web -otel_to_cloud path/to/your/agents_dir
56+
adk web --otel_to_cloud path/to/your/agents_dir
5757
```
5858

5959
### Programmatic traces export

0 commit comments

Comments
 (0)