Skip to content

Commit

Permalink
monitoring: add additional detail about metrics labels. (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Sep 6, 2024
1 parent 312be69 commit 6fddf79
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specification/resources/monitoring/models/metrics_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ properties:
metric:
type: object
description: >-
An object containing the metric labels.
An object containing the metric's labels. These labels are key/value pairs
that vary depending on the metric being queried. For example, load balancer
metrics contain a `lb_id` label, while Droplet metrics contain a `host_id`
label, and App Platform metrics contain a `app_component` label.
additionalProperties:
type: string
example:
host_id: "19201920"
values:
type: array
description: An array of values for the metric.
example:
- - 1435781430
- "1"
Expand Down

0 comments on commit 6fddf79

Please sign in to comment.