mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
5b78aa0649
* Contribute grafana/agent sigv4 code * address review feedback - move validation logic for RemoteWrite into unmarshal - copy configuration fields from ec2 SD config - remove enabled field, use pointer for enabling sigv4 * Update config/config.go * Don't provide credentials if secret key / access key left blank * Add SigV4 headers to the list of unchangeable headers. * sigv4: don't include all headers in signature * only test for equality in the authorization header, not the signed date * address review feedback 1. s/httpClientConfigEnabled/httpClientConfigAuthEnabled 2. bearer_token tuples to "authorization" 3. Un-export NewSigV4RoundTripper * add x-amz-content-sha256 to list of unchangeable headers * Document sigv4 configuration * add suggestion for using default AWS SDK credentials Signed-off-by: Robert Fratto <robertfratto@gmail.com> Co-authored-by: Julien Pivotto <roidelapluie@gmail.com> |
||
---|---|---|
.. | ||
chunked.go | ||
chunked_test.go | ||
client.go | ||
client_test.go | ||
codec.go | ||
codec_test.go | ||
ewma.go | ||
intern.go | ||
intern_test.go | ||
max_timestamp.go | ||
metadata_watcher.go | ||
metadata_watcher_test.go | ||
queue_manager.go | ||
queue_manager_test.go | ||
read.go | ||
read_handler.go | ||
read_handler_test.go | ||
read_test.go | ||
sigv4.go | ||
sigv4_test.go | ||
storage.go | ||
storage_test.go | ||
write.go | ||
write_handler.go | ||
write_handler_test.go | ||
write_test.go |