---
title: thv config otel set-enable-prometheus-metrics-path
hide_title: true
description: Reference for ToolHive CLI command `thv config otel set-enable-prometheus-metrics-path`
last_update:
  author: autogenerated
slug: thv_config_otel_set-enable-prometheus-metrics-path
mdx:
  format: md
---

## thv config otel set-enable-prometheus-metrics-path

Set the OpenTelemetry Prometheus metrics path flag

### Synopsis

Set the OpenTelemetry Prometheus metrics path flag to enable /metrics endpoint.

	thv config otel set-enable-prometheus-metrics-path true

```
thv config otel set-enable-prometheus-metrics-path <enabled> [flags]
```

### Options

```
  -h, --help   help for set-enable-prometheus-metrics-path
```

### Options inherited from parent commands

```
      --debug   Enable debug mode
```

### SEE ALSO

* [thv config otel](thv_config_otel.md)	 - Manage OpenTelemetry configuration

