Olivier Lemasle
0ea1c1b8d3
Use Golangci-lint
2022-11-28 23:17:16 +01:00
Damien Grisonnet
9dfbca09ca
go.mod: move to sigs.k8s.io golang package
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-06-01 17:35:45 +02:00
Carson Anderson
6c1d85ccf9
Split ExternalMetricsQuery and MetricsQuery funcs
2021-05-11 14:49:11 -06:00
Carson Anderson
fa5f8cd742
Add requested fixes
2021-04-23 11:27:38 -06:00
Carson Anderson
510c3724ce
Add docs, tests, and move namespaced to metricsQuery
2021-04-08 11:07:50 -06:00
paulfantom
cd55a67b89
*: move all imports to github.com/kubernetes-sigs/prometheus-adapter
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-02-22 15:49:03 +01:00
Sergii Koshel
d091fff18b
Update metrics apiserver to support filtering by labels
2020-02-12 17:54:40 +02:00
Sergiusz Urbaniak
486324753e
pkg/naming/BuildExternal: respect namespace
...
Currently, the namespace is ignored for external labels.
This fixes it.
2019-05-17 15:02:57 +02:00
Sergiusz Urbaniak
9e072b2b57
pkg/naming: fix LabelValuesByName rendering
...
According to documentation LabelValuesByName is supposed to render "|" separated values.
Currently it is returned as a slice per label name. This fixes it
Fixes #191
2019-05-07 14:04:29 +02:00
Jens Ulrich Hjuler Pedersen
113f90ec5e
Remove unnecessary log line - Fix #188
2019-04-24 10:03:35 +02:00
John Delivuk
ff409a0994
Refactoring external to leverage naming
2019-03-26 18:57:02 -04:00
John Delivuk
0bb762b367
Adding license to externalprovider and naming.
2019-02-22 10:29:24 -05:00
John Delivuk
6030912cc0
Moving metric naming to it's own package
2019-02-10 15:59:14 -05:00
Solly Ross
74c0c53e4f
Refactor metrics query building to interface
...
This moves the metrics query building to a separate interface in the
naming package so that it can be used across providers.
2018-10-03 11:05:43 -04:00