-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AWSPrometheusRemoteWriteExporter - Add SDK and system information to …
…User-Agent header (#3317) * added aws-sdk-go version and exec-env to the aws prw exporter user-agent header * Added comments * refined adding user-agent header * Updated adding to the User-Agent header * adding header to cloned request * added aws-sdk-go version and exec-env to the aws prw exporter user-agent header * Added comments * refined adding user-agent header * Updated adding to the User-Agent header * adding header to cloned request * compute string as constant and store it in signingRoundTripper struct * added tests for user-agent header and check to see if user-agent header exists * changed check for exisiting UA Header * retrigger checks Co-authored-by: Anthony J Mirabella <a9@aneurysm9.com>
- Loading branch information
1 parent
15f661b
commit 40f1090
Showing
3 changed files
with
47 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters