Carson Anderson
0536a5d481
Add label value replacers to the config and query
2021-03-05 16:53:18 -07: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
Sergiusz Urbaniak
752ce84723
cmd/*,pkg/*,docs,go.mod: bump custom-metrics-apiserver, metrics-server
2020-10-28 15:52:12 +01:00
Sergiusz Urbaniak
a858d53495
pkg/*,cmd/*: move to k8s.io/klog/v2
2020-10-28 15:48:05 +01:00
Sergii Koshel
d091fff18b
Update metrics apiserver to support filtering by labels
2020-02-12 17:54:40 +02:00
paulfantom
e84becd7ac
pkg/names: test namespaced external metrics selectors
2019-05-17 15:35:04 +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
paulfantom
2374cef641
pkg/naming: fix unit test
2019-05-17 14:36:02 +02:00
paulfantom
0d5c3ebd04
pkg/naming: add unit tests
2019-05-17 11:47:29 +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
Sergiusz Urbaniak
f18b6fd370
*: replace glog with klog
2019-04-24 11:04:42 +02:00
Jens Ulrich Hjuler Pedersen
113f90ec5e
Remove unnecessary log line - Fix #188
2019-04-24 10:03:35 +02:00
Sergiusz Urbaniak
d447eb1ec2
pkg/naming: add non-namespace resources
...
This is a merge commit back-porting PR #179
2019-03-28 21:04:42 -04: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
Solly Ross
7dd9e94aea
Extract label-resource logic to separate package
...
This extracts the label-to-resource conversion to a separte "naming" package for
use across different providers.
Early versions of the commit were done by antoinne85 in #79 .
2018-10-02 16:57:55 -04:00