* Add ignore_status
Signed-off-by: Alexander Ryabov <alexander.ryabov@jetbrains.com>
* Use valid_status_codes slice
Signed-off-by: Alexander Ryabov <alexander.ryabov@jetbrains.com>
Co-authored-by: Alexander Ryabov <alexander.ryabov@jetbrains.com>
* support modules configuration
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* fallback default module if the param is missing
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* update readme and example config file
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* fix lint
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Refactor FetchJson to use a constructor.
* Cleanup nolint to use a a .golangci.yml config.
* Switch go-kit/kit/log to go-kit/log.
Signed-off-by: SuperQ <superq@gmail.com>
* Update changelog
* Bump Go modules.
* Update NewClientFromConfig use
* Bump Go to 1.15.
prometheus/common#249 added option to disable HTTP/2.
Signed-off-by: Ben Kochie <superq@gmail.com>