Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 884 Bytes

File metadata and controls

45 lines (30 loc) · 884 Bytes
title thv config otel set-env-vars
hide_title true
description Reference for ToolHive CLI command `thv config otel set-env-vars`
last_update
author
autogenerated
slug thv_config_otel_set-env-vars
mdx
format
md

thv config otel set-env-vars

Set the OpenTelemetry environment variables

Synopsis

Set the list of environment variable names to include in OpenTelemetry spans.

These environment variables will be used by default when running MCP servers unless overridden by the --otel-env-vars flag.

Example:

thv config otel set-env-vars USER,HOME,PATH
thv config otel set-env-vars <var1,var2,...> [flags]

Options

  -h, --help   help for set-env-vars

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO