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 an agent user-agent to APM server connections #62

Closed
bryce-b opened this issue Jan 20, 2022 · 0 comments
Closed

add an agent user-agent to APM server connections #62

bryce-b opened this issue Jan 20, 2022 · 0 comments

Comments

@bryce-b
Copy link
Contributor

bryce-b commented Jan 20, 2022

In order to help debugging and gathering usage statistics, agents should use one of the following values for the User-Agent HTTP header:

  • Header value should start with agent github repository as prefix and version apm-agent-${language}/${agent.version}.
  • If both service.name and service.version are set, append (${service.name} ${service.version})
  • If only service.name is set, append (${service.name})

An executable gherkin specification is also provided in user_agent.feature.

Examples:

  • apm-agent-java/v1.25.0
  • apm-agent-ruby/4.4.0 (myservice)
  • apm-agent-python/6.4.0 (myservice v42.7)

reference spec : https://github.com/elastic/apm/blob/main/specs/agents/transport.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants