Solly Ross
99104cba2a
Merge pull request #136 from nilebox/start-flag
...
Add a separate flag for 'start' parameter
2018-12-04 12:23:26 -08:00
Matthias Loibl
9fb46c3c55
Create a NewCertPool for custom CA certificate
2018-12-03 19:47:37 +01:00
Matthias Loibl
4a16ae6d9a
Log info when successfully loading certificates
2018-12-03 17:57:19 +01:00
Matthias Loibl
bef034e699
Improve error handling in adapter.go
2018-12-03 17:18:53 +01:00
Nail Islamov
88c0ad0b6a
Add validation
2018-11-28 12:20:09 +11:00
Nail Islamov
3f1b120eda
Add a flag metrics-start-duration
2018-11-28 12:13:07 +11:00
Matthias Loibl
5d837a29dd
Add --prometheus-ca-file flag for specific ca
2018-11-23 17:25:22 +01:00
Solly Ross
5f52b29d47
Disable the custom metrics API with no rules
...
This disables the custom metrics API when no custom metrics rules are
given (the resource metrics API acts equivalently). This allows a given
adapter to serve only one of the APIs, if desired.
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
d02384477a
Upgrade boilerplate to latest
...
The latest boilerplate comes with a lot of simplifications and helpers
that let us reduce the amount of code written.
2018-10-02 16:57:55 -04:00
Solly Ross
756ff0941e
gofmt all files
...
Some of the files were not appropriately formatted. Now that we run
`verify` in Travis, these'll need to be.
2017-06-27 19:01:39 -04:00
Lucas Käldström
a4aac78cca
Move the adapter binary to a separate subdir
2017-06-26 22:09:22 +03:00