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
Solly Ross
6c8f44623e
Add tests for the resource metrics provider
...
This adds basic tests for the resource metrics provider, and fixes up
the default config slightly.
2018-10-03 11:05:43 -04:00
Solly Ross
c5801455ec
Introduce support for the resource metrics API
...
This introduces support for the resource metrics in the adapter.
The individual queries and window sizes are fully customizable via a new
config section. This uses just the generic machinery from
metrics-server to serve the API.
2018-10-03 11:05:43 -04:00
Solly Ross
40a9ee2474
Add a helper to generate legacy configuration
...
This moves the DefaultConfig method out into a helper to generate legacy
configuration. Passing in a config file is now required.
2018-06-27 16:56:20 -04:00