-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Update Indices API to support sourcemap param #177847
Conversation
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -102,11 +102,11 @@ if (server) { | |||
const cmd = [ | |||
'node', | |||
...(inspect ? ['--inspect-brk'] : []), | |||
`../../../../../scripts/${ftrScript}`, | |||
`../../../../../../scripts/${ftrScript}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CoenWarmer just a FYI. I fixed the static path on APM, but I think we must look at other solutions. Some scripts my be broken due to the folder migration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cauemarcondes & @CoenWarmer - I've found a spot that was probably missed during a folder migration.
node plugins/apm/scripts/test/e2e.js \ |
Sorry, that I commented it here, but I had a hard time finding the migration PR, this seems it's at least related to the owners :)
I'm assuming, if you would ask for full cypress testing on the PRs that includes APM, it would break like this: https://buildkite.com/elastic/kibana-kme-test/builds/319#018e0ee0-16ee-4224-902c-732706c3f857
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this
LGTM 🌟
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
closes elastic#177820 Saved Object before: ``` "attributes": { "apmIndices": { "onboarding": "caue", "sourcemap": "foo-*" }, "isSpaceAware": true }, ``` <img width="1826" alt="Screenshot 2024-02-28 at 17 47 12" src="https://github.com/elastic/kibana/assets/55978943/e44d90ec-982c-4330-88dc-14f0f59bfce7"> Saved Object after: ``` "attributes": { "apmIndices": { "onboarding": "caue" }, "isSpaceAware": true }, ``` The API now accepts the `sourcemap` param. (cherry picked from commit 505b928)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…177933) # Backport This will backport the following commits from `main` to `8.13`: - [[APM] Update Indices API to support sourcemap param (#177847)](#177847) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Cauê Marcondes","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-03-04T13:26:30Z","message":"[APM] Update Indices API to support sourcemap param (#177847)\n\ncloses https://github.com/elastic/kibana/issues/177820\r\n\r\nSaved Object before: \r\n\r\n```\r\n \"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\",\r\n \"sourcemap\": \"foo-*\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n<img width=\"1826\" alt=\"Screenshot 2024-02-28 at 17 47 12\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/e44d90ec-982c-4330-88dc-14f0f59bfce7\">\r\n\r\nSaved Object after:\r\n```\r\n\"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n\r\nThe API now accepts the `sourcemap` param.","sha":"505b928dc1e30a70a2e4fe9d966e03174b2fbc2c","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:obs-ux-infra_services","v8.13.0","v8.14.0"],"title":"[APM] Update Indices API to support sourcemap param","number":177847,"url":"https://github.com/elastic/kibana/pull/177847","mergeCommit":{"message":"[APM] Update Indices API to support sourcemap param (#177847)\n\ncloses https://github.com/elastic/kibana/issues/177820\r\n\r\nSaved Object before: \r\n\r\n```\r\n \"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\",\r\n \"sourcemap\": \"foo-*\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n<img width=\"1826\" alt=\"Screenshot 2024-02-28 at 17 47 12\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/e44d90ec-982c-4330-88dc-14f0f59bfce7\">\r\n\r\nSaved Object after:\r\n```\r\n\"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n\r\nThe API now accepts the `sourcemap` param.","sha":"505b928dc1e30a70a2e4fe9d966e03174b2fbc2c"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177847","number":177847,"mergeCommit":{"message":"[APM] Update Indices API to support sourcemap param (#177847)\n\ncloses https://github.com/elastic/kibana/issues/177820\r\n\r\nSaved Object before: \r\n\r\n```\r\n \"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\",\r\n \"sourcemap\": \"foo-*\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n<img width=\"1826\" alt=\"Screenshot 2024-02-28 at 17 47 12\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/e44d90ec-982c-4330-88dc-14f0f59bfce7\">\r\n\r\nSaved Object after:\r\n```\r\n\"attributes\": {\r\n \"apmIndices\": {\r\n \"onboarding\": \"caue\"\r\n },\r\n \"isSpaceAware\": true\r\n },\r\n```\r\n\r\nThe API now accepts the `sourcemap` param.","sha":"505b928dc1e30a70a2e4fe9d966e03174b2fbc2c"}}]}] BACKPORT--> --------- Co-authored-by: Cauê Marcondes <[email protected]>
closes #177820
Saved Object before:
Saved Object after:
The API now accepts the
sourcemap
param.