-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AWSPrometheusRemoteWriteExporter - Add SDK and system information to User-Agent header #3317
AWSPrometheusRemoteWriteExporter - Add SDK and system information to User-Agent header #3317
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Requesting reviews from @Aneurysm9 @anuraaga |
@dhruv-vora please address @anuraaga feedback |
@@ -16,6 +16,7 @@ package awsprometheusremotewriteexporter | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not mistaken we don't have a test verifying the user agent (it would be some sort of fuzzy match I guess)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have modified the tests to add verification of the user-agent header
Please rebase to be able to pass one test that uses expired certificates and was fixed |
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Description:
In order to better understand usage patterns for the AWS Prometheus Remote Write exporter in the Collector, we’re adding SDK and system information in the request header.