[elastic_agent] Restore deleted apm_server_metrics mapping#19265
Conversation
This comment has been minimized.
This comment has been minimized.
TL;DRBuildkite failed in Remediation
Investigation detailsRoot Cause
Evidence
I also flattened the PR version of
Verification
Follow-upIf both blocks were intentional, split one under a different namespace (for example not under Note 🔒 Integrity filter blocked 7 itemsThe following items were blocked because they don't meet the GitHub integrity level.
To allow these resources, lower tools:
github:
min-integrity: approved # merged | approved | unapproved | noneWhat is this? | From workflow: PR Buildkite Detective Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
Elastic Docs Style Checker (Vale)Summary: 1 suggestion found 💡 Suggestions (1): Optional style improvements. Apply when helpful.
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
💚 Build Succeeded
History
|
|
Package elastic_agent - 2.9.3 containing this change is available at https://epr.elastic.co/package/elastic_agent/2.9.3/ |
…9265) A stop gap PR to restore deleted apm_server_metrics mapping deleted in regression elastic#12793 . What's new compared to pre elastic#12793 is that metric_type is added for all the concerned metrics.
Proposed commit message
A stop gap PR to restore deleted apm_server_metrics mapping deleted in regression #12793 . What's new compared to pre #12793 is that metric_type is added for all the concerned metrics.
Tested with 2 scenarios:
Out of scope of PR: We should follow up with a complete validated PR for apm_server_metrics after elastic/apm-server#21001
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Start a QA ECH deployment.
Locally, start a docker container for EA enrollment
docker run --rm -it buildpack-deps:24.04-curl.Follow kibana fleet UI instructons, create a new agent policy, then install and enroll Elastic Agent in docker container with
--install-server.Enable agent logs and metrics shipping. Add APM to agent policy, enable TBS. Hit the apm endpoint
http://localhost:8200in the agent machine.Then to install the new EA integration:
Related issues
Fixes elastic/apm-server#20991
Screenshots