| title | thv config otel | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv config otel` | ||
| last_update |
|
||
| slug | thv_config_otel | ||
| mdx |
|
Manage OpenTelemetry configuration
Configure OpenTelemetry settings for observability and monitoring of MCP servers.
-h, --help help for otel
--debug Enable debug mode
- thv config - Manage application configuration
- thv config otel get-enable-prometheus-metrics-path - Get the currently configured OpenTelemetry Prometheus metrics path flag
- thv config otel get-endpoint - Get the currently configured OpenTelemetry endpoint
- thv config otel get-env-vars - Get the currently configured OpenTelemetry environment variables
- thv config otel get-insecure - Get the currently configured OpenTelemetry insecure transport flag
- thv config otel get-metrics-enabled - Get the currently configured OpenTelemetry metrics export flag
- thv config otel get-sampling-rate - Get the currently configured OpenTelemetry sampling rate
- thv config otel get-tracing-enabled - Get the currently configured OpenTelemetry tracing export flag
- thv config otel set-enable-prometheus-metrics-path - Set the OpenTelemetry Prometheus metrics path flag
- thv config otel set-endpoint - Set the OpenTelemetry endpoint URL
- thv config otel set-env-vars - Set the OpenTelemetry environment variables
- thv config otel set-insecure - Set the OpenTelemetry insecure transport flag
- thv config otel set-metrics-enabled - Set the OpenTelemetry metrics export to enabled
- thv config otel set-sampling-rate - Set the OpenTelemetry sampling rate
- thv config otel set-tracing-enabled - Set the OpenTelemetry tracing export to enabled
- thv config otel unset-enable-prometheus-metrics-path - Remove the configured OpenTelemetry Prometheus metrics path flag
- thv config otel unset-endpoint - Remove the configured OpenTelemetry endpoint
- thv config otel unset-env-vars - Remove the configured OpenTelemetry environment variables
- thv config otel unset-insecure - Remove the configured OpenTelemetry insecure transport flag
- thv config otel unset-metrics-enabled - Remove the configured OpenTelemetry metrics export flag
- thv config otel unset-sampling-rate - Remove the configured OpenTelemetry sampling rate
- thv config otel unset-tracing-enabled - Remove the configured OpenTelemetry tracing export flag