Commit 6adffd2
authored
The `target_addr` label encodes both the IP address and port in a single
string. This makes certain grouping operations cumbersome.
In order to support more flexible queries, this change adds `target_ip`
and `target_port` labels in addition to the existing `target_addr`
label. This should have a negligible impact on prometheus, since it
doesn't actually increase timeseries cardinality.
1 parent 1627f35 commit 6adffd2
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
| |||
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
213 | | - | |
214 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
0 commit comments