Skip to content

Commit 38fb46e

Browse files
Editorial polish for registry metrics note
Use parallel "per source" phrasing in the table, switch the v1.4.3 admonition to :::warning since it documents a breaking change to user queries, and align terminology on "label" to match the table header.
1 parent ae5be7f commit 38fb46e

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

docs/toolhive/guides-registry/telemetry-metrics.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,18 @@ identification.
7979

8080
### Available metrics
8181

82-
| Metric | Type | Labels | Description |
83-
| ------------------------------------------- | ------------- | -------------------------------- | ----------------------------------------- |
84-
| `thv_reg_srv_http_request_duration_seconds` | Histogram | `method`, `route`, `status_code` | Duration of HTTP requests |
85-
| `thv_reg_srv_http_requests_total` | Counter | `method`, `route`, `status_code` | Total number of HTTP requests |
86-
| `thv_reg_srv_http_active_requests` | UpDownCounter | - | Number of in-flight requests |
87-
| `thv_reg_srv_servers_total` | Gauge | `source` | Number of distinct servers in each source |
88-
| `thv_reg_srv_skills_total` | Gauge | `source` | Number of distinct skills in each source |
89-
| `thv_reg_srv_sync_duration_seconds` | Histogram | `registry`, `success` | Duration of sync operations |
90-
91-
:::note
92-
93-
In Registry Server v1.4.3, the attribute on `thv_reg_srv_servers_total` and
82+
| Metric | Type | Labels | Description |
83+
| ------------------------------------------- | ------------- | -------------------------------- | ----------------------------- |
84+
| `thv_reg_srv_http_request_duration_seconds` | Histogram | `method`, `route`, `status_code` | Duration of HTTP requests |
85+
| `thv_reg_srv_http_requests_total` | Counter | `method`, `route`, `status_code` | Total number of HTTP requests |
86+
| `thv_reg_srv_http_active_requests` | UpDownCounter | - | Number of in-flight requests |
87+
| `thv_reg_srv_servers_total` | Gauge | `source` | Number of servers per source |
88+
| `thv_reg_srv_skills_total` | Gauge | `source` | Number of skills per source |
89+
| `thv_reg_srv_sync_duration_seconds` | Histogram | `registry`, `success` | Duration of sync operations |
90+
91+
:::warning
92+
93+
In Registry Server v1.4.3, the label on `thv_reg_srv_servers_total` and
9494
`thv_reg_srv_skills_total` was renamed from `registry` to `source`. If you have
9595
existing Grafana queries, Prometheus alerts, or dashboards that reference the
9696
`registry` label on these two metrics, switch them to `source`. The

0 commit comments

Comments
 (0)