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

[APM] Uploading a source map with ${foo} in the service_version param prevents APM Server from working #149660

Open
axw opened this issue Jan 27, 2023 · 1 comment
Labels
apm:fleet bug Fixes for quality problems that affect the customer experience Team:APM All issues that need APM UI Team support

Comments

@axw
Copy link
Member

axw commented Jan 27, 2023

Kibana version: 8.4.3

Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud

Describe the bug:

When a source map is uploaded via Kibana with service_version set to ${VERSION} (e.g. due to a typo in shell variable expansion), then APM Server becomes disabled when running under Elastic Agent and Fleet.

Steps to reproduce:

  1. Create an Elastic Cloud deployment
  2. Upload a source map (https://www.elastic.co/guide/en/kibana/current/rum-sourcemap-api.html#rum-sourcemap-post) with service_version=${VERSION} (literally -- don't expand the variable)
  3. APM Server will shortly after become unavailable

Expected behavior:

APM Server should remain available. Source mapping probably won't work, unless the service version is truly ${VERSION}.

Any additional context:

Fixing this easily will probably require elastic/elastic-agent#2177. There is a workaround noted in that issue, but will require some additional parsing.

@axw axw added bug Fixes for quality problems that affect the customer experience Team:APM All issues that need APM UI Team support apm:fleet labels Jan 27, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:fleet bug Fixes for quality problems that affect the customer experience Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

2 participants