mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 07:23:02 +00: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_test.go | ||
chunked.go | ||
client_test.go | ||
client.go | ||
codec_test.go | ||
codec.go | ||
ewma.go | ||
intern_test.go | ||
intern.go | ||
max_timestamp.go | ||
metadata_watcher_test.go | ||
metadata_watcher.go | ||
queue_manager_test.go | ||
queue_manager.go | ||
read_handler_test.go | ||
read_handler.go | ||
read_test.go | ||
read.go | ||
sigv4_test.go | ||
sigv4.go | ||
storage_test.go | ||
storage.go | ||
write_handler_test.go | ||
write_handler.go | ||
write_test.go | ||
write.go |