Aliaksandr Valialkin
|
855436efd2
|
lib/promauth: refactor NewConfig in order to improve maintainability
1. Split NewConfig into smaller functions
2. Introduce Options struct for simplifying construction of the Config with various options
This commit is based on https://github.com/VictoriaMetrics/VictoriaMetrics/pull/2684
|
2022-07-04 14:31:12 +03:00 |
|
Aliaksandr Valialkin
|
1c4f67c5d2
|
lib/promauth: add ability to send additional http headers in requests to scrape targets
This solves https://stackoverflow.com/questions/66032498/prometheus-scrape-metric-with-custom-header
|
2022-06-22 20:39:43 +03:00 |
|
Aliaksandr Valialkin
|
cbfc7b7c92
|
app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1764
|
2021-11-05 14:41:16 +02:00 |
|
Aliaksandr Valialkin
|
78dddfb98f
|
lib/promauth: follow-up after 5b8176c68e
|
2021-05-22 18:01:11 +03:00 |
|
Nikolay
|
5b8176c68e
|
basic OAuth2 support for remoteWrite and scrape targets (#1316)
* adds OAuth2 support for remoteWrite and scrapping
* adds tests
changes init
|
2021-05-22 16:20:18 +03:00 |
|