Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
timp87 authored Oct 26, 2022
1 parent 0d55500 commit 4c6fff1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/customresourcestate-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ spec:
labelsFromPath:
active: [active]
# The actual field to use as metric value. Should be a number.
value: [ready]
valueFrom: [ready]
commonLabels:
custom_metric: "yes"
labelsFromPath:
Expand All @@ -168,8 +168,8 @@ spec:
Produces the following metrics:

```prometheus
kube_crd_active_count{group="myteam.io", kind="Foo", version="v1", active="1",custom_metric="yes",foo="bar",name="foo",bar="baz",qux="quxx",type="type-a"} 1
kube_crd_active_count{group="myteam.io", kind="Foo", version="v1", active="3",custom_metric="yes",foo="bar",name="foo",bar="baz",qux="quxx",type="type-b"} 3
kube_crd_active_count{group="myteam.io", kind="Foo", version="v1", active="1",custom_metric="yes",foo="bar",name="foo",bar="baz",qux="quxx",type="type-a"} 2
kube_crd_active_count{group="myteam.io", kind="Foo", version="v1", active="3",custom_metric="yes",foo="bar",name="foo",bar="baz",qux="quxx",type="type-b"} 4
```

### Metric types
Expand Down

0 comments on commit 4c6fff1

Please sign in to comment.