(name string, metric []*ioprometheusclient.Metric)
| 139 | } |
| 140 | |
| 141 | func getLabelValue(name string, metric []*ioprometheusclient.Metric) string { |
| 142 | for _, label := range metric[0].Label { |
| 143 | if *label.Name == name { |
| 144 | return *label.Value |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | return "" |
| 149 | } |
no outgoing calls
no test coverage detected