Skip to content

Add x-elastic-client-meta header #168

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

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

swallez
Copy link
Member

@swallez swallez commented Mar 19, 2021

Adds a X-Elastic-Client-Meta header to http requests. This header contains information about the runtime environment that is meant to allow analyzing usage context by collecting this information on the receiving side of requests, like a proxy server in front of ES.

Using a custom header allows client applications to change the User-Agent header for their own purpose without losing this information.

@swallez swallez self-assigned this Mar 19, 2021
Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@swallez swallez merged commit 954de29 into elastic:master Mar 24, 2021
@swallez swallez deleted the client-meta-header branch March 24, 2021 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants