We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052c1ff commit 12acfafCopy full SHA for 12acfaf
README.md
@@ -131,6 +131,20 @@ prometheus.targets()
131
A cAdvisor client is a client that add object specific labels to each REST call,
132
objects available are Node, Pod and Container.
133
134
+###### Node
135
+
136
+Add the instance label, user must declare the instance on client creation.
137
138
+###### Pod
139
140
+Add the pod_name label, user must declare the pod_name on client creation.
141
142
+###### Container
143
144
+Add the container_name and pod_name labels, user must declare container_name and pod_name on client creation.
145
146
+###### Example
147
148
```ruby
149
150
# create a client for cAdvisor metrics of a Node instance 'example.com'
0 commit comments