Skip to content

Commit 6a357ca

Browse files
committed
Merge branch 'main' into adds-otel-kubernetes
2 parents cc5858f + 14d16c3 commit 6a357ca

16 files changed

+566
-2
lines changed

docs/toolhive/reference/cli/thv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
1818
ToolHive (thv) is a lightweight, secure, and fast manager for MCP (Model Context Protocol) servers.
1919
It is written in Go and has extensive test coverage—including input validation—to ensure reliability and security.
2020

21-
Under the hood, ToolHive acts as a very thin client for the Docker/Podman/Colima Unix socket API.
21+
Under the hood, ToolHive acts as a very thin client for the Docker/Podman Unix socket API.
2222
This design choice allows it to remain both efficient and lightweight while still providing powerful,
2323
container-based isolation for running MCP servers.
2424

docs/toolhive/reference/cli/thv_config_otel.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,25 @@ Configure OpenTelemetry settings for observability and monitoring of MCP servers
3232
### SEE ALSO
3333

3434
* [thv config](thv_config.md) - Manage application configuration
35+
* [thv config otel get-enable-prometheus-metrics-path](thv_config_otel_get-enable-prometheus-metrics-path.md) - Get the currently configured OpenTelemetry Prometheus metrics path flag
3536
* [thv config otel get-endpoint](thv_config_otel_get-endpoint.md) - Get the currently configured OpenTelemetry endpoint
3637
* [thv config otel get-env-vars](thv_config_otel_get-env-vars.md) - Get the currently configured OpenTelemetry environment variables
38+
* [thv config otel get-insecure](thv_config_otel_get-insecure.md) - Get the currently configured OpenTelemetry insecure transport flag
39+
* [thv config otel get-metrics-enabled](thv_config_otel_get-metrics-enabled.md) - Get the currently configured OpenTelemetry metrics export flag
3740
* [thv config otel get-sampling-rate](thv_config_otel_get-sampling-rate.md) - Get the currently configured OpenTelemetry sampling rate
41+
* [thv config otel get-tracing-enabled](thv_config_otel_get-tracing-enabled.md) - Get the currently configured OpenTelemetry tracing export flag
42+
* [thv config otel set-enable-prometheus-metrics-path](thv_config_otel_set-enable-prometheus-metrics-path.md) - Set the OpenTelemetry Prometheus metrics path flag
3843
* [thv config otel set-endpoint](thv_config_otel_set-endpoint.md) - Set the OpenTelemetry endpoint URL
3944
* [thv config otel set-env-vars](thv_config_otel_set-env-vars.md) - Set the OpenTelemetry environment variables
45+
* [thv config otel set-insecure](thv_config_otel_set-insecure.md) - Set the OpenTelemetry insecure transport flag
46+
* [thv config otel set-metrics-enabled](thv_config_otel_set-metrics-enabled.md) - Set the OpenTelemetry metrics export to enabled
4047
* [thv config otel set-sampling-rate](thv_config_otel_set-sampling-rate.md) - Set the OpenTelemetry sampling rate
48+
* [thv config otel set-tracing-enabled](thv_config_otel_set-tracing-enabled.md) - Set the OpenTelemetry tracing export to enabled
49+
* [thv config otel unset-enable-prometheus-metrics-path](thv_config_otel_unset-enable-prometheus-metrics-path.md) - Remove the configured OpenTelemetry Prometheus metrics path flag
4150
* [thv config otel unset-endpoint](thv_config_otel_unset-endpoint.md) - Remove the configured OpenTelemetry endpoint
4251
* [thv config otel unset-env-vars](thv_config_otel_unset-env-vars.md) - Remove the configured OpenTelemetry environment variables
52+
* [thv config otel unset-insecure](thv_config_otel_unset-insecure.md) - Remove the configured OpenTelemetry insecure transport flag
53+
* [thv config otel unset-metrics-enabled](thv_config_otel_unset-metrics-enabled.md) - Remove the configured OpenTelemetry metrics export flag
4354
* [thv config otel unset-sampling-rate](thv_config_otel_unset-sampling-rate.md) - Remove the configured OpenTelemetry sampling rate
55+
* [thv config otel unset-tracing-enabled](thv_config_otel_unset-tracing-enabled.md) - Remove the configured OpenTelemetry tracing export flag
4456

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: thv config otel get-enable-prometheus-metrics-path
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel get-enable-prometheus-metrics-path`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_get-enable-prometheus-metrics-path
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel get-enable-prometheus-metrics-path
13+
14+
Get the currently configured OpenTelemetry Prometheus metrics path flag
15+
16+
### Synopsis
17+
18+
Display the OpenTelemetry Prometheus metrics path flag that is currently configured.
19+
20+
```
21+
thv config otel get-enable-prometheus-metrics-path [flags]
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help help for get-enable-prometheus-metrics-path
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
--debug Enable debug mode
34+
```
35+
36+
### SEE ALSO
37+
38+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
39+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: thv config otel get-insecure
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel get-insecure`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_get-insecure
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel get-insecure
13+
14+
Get the currently configured OpenTelemetry insecure transport flag
15+
16+
### Synopsis
17+
18+
Display the OpenTelemetry insecure transport flag that is currently configured.
19+
20+
```
21+
thv config otel get-insecure [flags]
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help help for get-insecure
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
--debug Enable debug mode
34+
```
35+
36+
### SEE ALSO
37+
38+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
39+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: thv config otel get-metrics-enabled
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel get-metrics-enabled`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_get-metrics-enabled
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel get-metrics-enabled
13+
14+
Get the currently configured OpenTelemetry metrics export flag
15+
16+
### Synopsis
17+
18+
Display the OpenTelemetry metrics export flag that is currently configured.
19+
20+
```
21+
thv config otel get-metrics-enabled [flags]
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help help for get-metrics-enabled
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
--debug Enable debug mode
34+
```
35+
36+
### SEE ALSO
37+
38+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
39+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: thv config otel get-tracing-enabled
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel get-tracing-enabled`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_get-tracing-enabled
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel get-tracing-enabled
13+
14+
Get the currently configured OpenTelemetry tracing export flag
15+
16+
### Synopsis
17+
18+
Display the OpenTelemetry tracing export flag that is currently configured.
19+
20+
```
21+
thv config otel get-tracing-enabled [flags]
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help help for get-tracing-enabled
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
--debug Enable debug mode
34+
```
35+
36+
### SEE ALSO
37+
38+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
39+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: thv config otel set-enable-prometheus-metrics-path
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel set-enable-prometheus-metrics-path`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_set-enable-prometheus-metrics-path
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel set-enable-prometheus-metrics-path
13+
14+
Set the OpenTelemetry Prometheus metrics path flag
15+
16+
### Synopsis
17+
18+
Set the OpenTelemetry Prometheus metrics path flag to enable /metrics endpoint.
19+
20+
thv config otel set-enable-prometheus-metrics-path true
21+
22+
```
23+
thv config otel set-enable-prometheus-metrics-path <enabled> [flags]
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for set-enable-prometheus-metrics-path
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--debug Enable debug mode
36+
```
37+
38+
### SEE ALSO
39+
40+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: thv config otel set-insecure
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel set-insecure`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_set-insecure
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel set-insecure
13+
14+
Set the OpenTelemetry insecure transport flag
15+
16+
### Synopsis
17+
18+
Set the OpenTelemetry insecure flag to enable HTTP instead of HTTPS for OTLP endpoints.
19+
20+
thv config otel set-insecure true
21+
22+
```
23+
thv config otel set-insecure <enabled> [flags]
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for set-insecure
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--debug Enable debug mode
36+
```
37+
38+
### SEE ALSO
39+
40+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: thv config otel set-metrics-enabled
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel set-metrics-enabled`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_set-metrics-enabled
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel set-metrics-enabled
13+
14+
Set the OpenTelemetry metrics export to enabled
15+
16+
### Synopsis
17+
18+
Set the OpenTelemetry metrics flag to enable to export metrics to an OTel collector.
19+
20+
thv config otel set-metrics-enabled true
21+
22+
```
23+
thv config otel set-metrics-enabled <enabled> [flags]
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for set-metrics-enabled
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--debug Enable debug mode
36+
```
37+
38+
### SEE ALSO
39+
40+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: thv config otel set-tracing-enabled
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config otel set-tracing-enabled`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_otel_set-tracing-enabled
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config otel set-tracing-enabled
13+
14+
Set the OpenTelemetry tracing export to enabled
15+
16+
### Synopsis
17+
18+
Set the OpenTelemetry tracing flag to enable to export traces to an OTel collector.
19+
20+
thv config otel set-tracing-enabled true
21+
22+
```
23+
thv config otel set-tracing-enabled <enabled> [flags]
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for set-tracing-enabled
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--debug Enable debug mode
36+
```
37+
38+
### SEE ALSO
39+
40+
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
41+

0 commit comments

Comments
 (0)