Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add User-Agent header and documentation #34

Merged
merged 3 commits into from
Jan 5, 2024
Merged

Add User-Agent header and documentation #34

merged 3 commits into from
Jan 5, 2024

Conversation

trevorbonas
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
"Prometheus Connector," and the version of the Prometheus connector, has been added to the User-Agent header, before the current value in the User-Agent header, which is the AWS SDK and its version.

Example from logs with DEBUG log-level:

User-Agent: Prometheus Connector/1.1.0 aws-sdk-go/1.35.7 (go1.21.1; darwin; arm64)

Also, details on what the User-Agent header value is for the Prometheus Connector has been added to the README.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

trevorbonas and others added 3 commits January 4, 2024 12:33
"Prometheus Connector," and the version of the Prometheus connector, has been added to the User-Agent header, before the current value in the User-Agent header, which is the AWS SDK and its version.

Example from logs with DEBUG log-level:

```
User-Agent: Prometheus Connector/1.1.0 aws-sdk-go/1.35.7 (go1.21.1; darwin; arm64)
```

Also, details on what the `User-Agent` header value is for the Prometheus Connector has been added to the README.
@forestmvey forestmvey merged commit 276aafe into awslabs:main Jan 5, 2024
4 checks passed
forestmvey pushed a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
* Add User-Agent documentation to README

* Add User-Agent header value

---------

Co-authored-by: Trevor Bonas <[email protected]>
forestmvey pushed a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
* Add User-Agent documentation to README

* Add User-Agent header value

---------

Co-authored-by: Trevor Bonas <[email protected]>
forestmvey pushed a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
* Add User-Agent documentation to README

* Add User-Agent header value

---------

Co-authored-by: Trevor Bonas <[email protected]>
forestmvey pushed a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
* Add User-Agent documentation to README

* Add User-Agent header value

---------

Co-authored-by: Trevor Bonas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants