@@ -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
7371thv 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
118114thv 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
218212thv 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
256248thv 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
273264thv 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
309298thv 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