From 7ecfa39b6b432e3019319b87b7d0eb0b73d0dc2a Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Mon, 13 May 2024 20:31:35 +0000 Subject: [PATCH] change the unit for go.processor.limit to {thread} --- docs/runtime/go-metrics.md | 2 +- model/metrics/go-metrics.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/runtime/go-metrics.md b/docs/runtime/go-metrics.md index 5e827bd20e..6bc219621c 100644 --- a/docs/runtime/go-metrics.md +++ b/docs/runtime/go-metrics.md @@ -154,7 +154,7 @@ This metric is [recommended][MetricRecommended]. | Name | Instrument Type | Unit (UCUM) | Description | Stability | | -------- | --------------- | ----------- | -------------- | --------- | -| `go.processor.limit` | UpDownCounter | `{processor}` | The number of OS threads that can execute user-level Go code simultaneously. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `go.processor.limit` | UpDownCounter | `{thread}` | The number of OS threads that can execute user-level Go code simultaneously. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **[1]:** Computed from `/sched/gomaxprocs:threads`. diff --git a/model/metrics/go-metrics.yaml b/model/metrics/go-metrics.yaml index b60b8b9c0c..b142cb053e 100644 --- a/model/metrics/go-metrics.yaml +++ b/model/metrics/go-metrics.yaml @@ -71,7 +71,7 @@ groups: note: > Computed from `/sched/gomaxprocs:threads`. instrument: updowncounter - unit: "{processor}" + unit: "{thread}" stability: experimental - id: metric.go.schedule.duration