mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 09:47:54 +00:00
Cleaning up.
* Wiped out a ton of warnings about comments. * Created consts for `MetricType` values. * `externalInfoMap` can now track multiple series with the same name/namespace and different labels. * `namespace` parameter of external metrics queries is now respected (albeit very rudimentarily) * Metric converter values for external metrics are now converted the same way as for custom metrics (probably still some opportunity for consolidation). * Lots of TODOs actually done. * Deleted a lot of commented out code.
This commit is contained in:
parent
9641e70005
commit
a94494337e
18 changed files with 155 additions and 188 deletions
|
|
@ -79,4 +79,4 @@ func TestQueryWithGroupBy(t *testing.T) {
|
|||
require.Equal(t, selector, expectation)
|
||||
}
|
||||
|
||||
//TODO: Ensure that the LabelValuesByName and GroupBySlice placeholders function correctly.
|
||||
//TODO: AC - Ensure that the LabelValuesByName and GroupBySlice placeholders function correctly.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue