Skip to content

Commit f486a8d

Browse files
committed
removes unneeded flags
Signed-off-by: ChrisJBurns <[email protected]>
1 parent 572a3d9 commit f486a8d

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/toolhive/guides-cli/telemetry-and-metrics.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ thv run \
3838
--otel-endpoint localhost:4318 \
3939
--otel-service-name fetch-mcp \
4040
--otel-insecure \
41-
--otel-tracing-enabled \
42-
--otel-metrics-enabled \
4341
fetch
4442
```
4543

@@ -72,8 +70,6 @@ context like deployment environment or service version to your traces.
7270
```bash
7371
thv run \
7472
--otel-endpoint api.honeycomb.io \
75-
--otel-tracing-enabled \
76-
--otel-metrics-enabled \
7773
--otel-headers "x-honeycomb-team=<YOUR_API_KEY>" \
7874
--otel-env-vars "NODE_ENV,DEPLOYMENT_ENV,SERVICE_VERSION" \
7975
fetch
@@ -117,8 +113,6 @@ This example exports to Honeycomb and enables the Prometheus metrics endpoint:
117113
```bash
118114
thv run \
119115
--otel-endpoint api.honeycomb.io \
120-
--otel-tracing-enabled \
121-
--otel-metrics-enabled \
122116
--otel-headers "x-honeycomb-team=<YOUR_API_KEY>" \
123117
--otel-enable-prometheus-metrics-path \
124118
fetch
@@ -147,8 +141,8 @@ thv run [--otel-endpoint <URL>] [--otel-service-name <NAME>] \
147141
| Flag | Description | Default |
148142
| --------------------------------------- | ------------------------------------------------------------- | -------------------- |
149143
| `--otel-endpoint` | OTLP endpoint (e.g., `api.honeycomb.io`) | None |
150-
| `--otel-metrics-enabled` | Enable OTLP metrics export (when OTLP endpoint is configured) | `false` |
151-
| `--otel-tracing-enabled` | Enable distributed tracing (when OTLP endpoint is configured) | `false` |
144+
| `--otel-metrics-enabled` | Enable OTLP metrics export (when OTLP endpoint is configured) | `true` |
145+
| `--otel-tracing-enabled` | Enable distributed tracing (when OTLP endpoint is configured) | `true` |
152146
| `--otel-service-name` | Service name for telemetry | `toolhive-mcp-proxy` |
153147
| `--otel-sampling-rate` | Trace sampling rate (0.0-1.0) | `0.1` (10%) |
154148
| `--otel-headers` | Authentication headers in `key=value` format | None |
@@ -217,8 +211,6 @@ OTLP http receiver port (default is `4318`):
217211
```bash
218212
thv run \
219213
--otel-endpoint localhost:4318 \
220-
--otel-tracing-enabled \
221-
--otel-metrics-enabled \
222214
--otel-insecure \
223215
fetch
224216
```
@@ -255,7 +247,6 @@ by setting the OTLP endpoint to Jaeger's collector:
255247
```bash
256248
thv run \
257249
--otel-endpoint localhost:4318 \
258-
--otel-tracing-enabled \
259250
--otel-insecure \
260251
<SERVER>
261252
```
@@ -272,8 +263,6 @@ forward data to Honeycomb. This example sends data directly to Honeycomb:
272263
```bash
273264
thv run \
274265
--otel-endpoint api.honeycomb.io \
275-
--otel-tracing-enabled \
276-
--otel-metrics-enabled \
277266
--otel-headers "x-honeycomb-team=<YOUR_API_KEY>" \
278267
--otel-service-name production-mcp-proxy \
279268
<SERVER>
@@ -308,8 +297,6 @@ You can also send data directly to
308297
```bash
309298
thv run \
310299
--otel-endpoint otlp-gateway-prod-us-central-0.grafana.net \
311-
--otel-tracing-enabled \
312-
--otel-metrics-enabled \
313300
--otel-headers "Authorization=Basic $(echo -n 'user:password' | base64)" \
314301
<SERVER>
315302
```

0 commit comments

Comments
 (0)