Skip to content

[9.0] [APM] Remove `error.id` in `getErrorGroupMainStatistics` query as it's not used (#210613)#210677

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-210613
Feb 11, 2025
Merged

[9.0] [APM] Remove `error.id` in `getErrorGroupMainStatistics` query as it's not used (#210613)#210677
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-210613

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

…s not used (elastic#210613)

## Summary

Closes elastic#210610

This PR removes `error.id` field from being queried at
`getErrorGroupMainStatistics`, as it was not being used, as it was
required. If we didn't have this field, the endpoint call would crash.

(cherry picked from commit 46cd29e)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Feb 11, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) February 11, 2025 18:19
@botelastic botelastic bot added the Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. label Feb 11, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@kibanamachine kibanamachine merged commit dbe7cc3 into elastic:9.0 Feb 11, 2025
6 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @rmyz

rmyz added a commit that referenced this pull request Feb 12, 2025
…as it's not used (#210613) (#210761)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] Remove `error.id` in
`getErrorGroupMainStatistics` query as it's not used
(#210613)](#210613)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T18:13:51Z","message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","apm","Team:obs-ux-infra_services","backport:version","backport:8.17","v9.1.0","backport:8.18"],"title":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used","number":210613,"url":"https://github.com/elastic/kibana/pull/210613","mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210677","number":210677,"state":"MERGED","mergeCommit":{"sha":"dbe7cc3b4f4b21484f5bb4b26e47fbe541b83fab","message":"[9.0]
[APM] Remove &#x60;error.id&#x60; in
&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not used
(#210613) (#210677)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[APM] Remove &#x60;error.id&#x60;
in\n&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not
used\n(#210613)](https://github.com/elastic/kibana/pull/210613)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sergi\nRomeu\",\"email\":\"sergi.romeu@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-11T18:13:51Z\",\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"v9.0.0\",\"apm\",\"Team:obs-ux-infra_services\",\"backport:version\",\"backport:8.17\",\"v9.1.0\",\"backport:8.18\"],\"title\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's
not\nused\",\"number\":210613,\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"number\":210613,\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210613","number":210613,"mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}}]}]
BACKPORT-->
rmyz added a commit that referenced this pull request Feb 12, 2025
… as it's not used (#210613) (#210762)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[APM] Remove &#x60;error.id&#x60; in
&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not used
(#210613)](#210613)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T18:13:51Z","message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","apm","Team:obs-ux-infra_services","backport:version","backport:8.17","v9.1.0","backport:8.18"],"title":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used","number":210613,"url":"https://github.com/elastic/kibana/pull/210613","mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210677","number":210677,"state":"MERGED","mergeCommit":{"sha":"dbe7cc3b4f4b21484f5bb4b26e47fbe541b83fab","message":"[9.0]
[APM] Remove &#x60;error.id&#x60; in
&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not used
(#210613) (#210677)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[APM] Remove &#x60;error.id&#x60;
in\n&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not
used\n(#210613)](https://github.com/elastic/kibana/pull/210613)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sergi\nRomeu\",\"email\":\"sergi.romeu@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-11T18:13:51Z\",\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"v9.0.0\",\"apm\",\"Team:obs-ux-infra_services\",\"backport:version\",\"backport:8.17\",\"v9.1.0\",\"backport:8.18\"],\"title\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's
not\nused\",\"number\":210613,\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"number\":210613,\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210613","number":210613,"mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}}]}]
BACKPORT-->
rmyz added a commit that referenced this pull request Feb 12, 2025
… as it's not used (#210613) (#210763)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[APM] Remove &#x60;error.id&#x60; in
&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not used
(#210613)](#210613)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T18:13:51Z","message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","apm","Team:obs-ux-infra_services","backport:version","backport:8.17","v9.1.0","backport:8.18"],"title":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used","number":210613,"url":"https://github.com/elastic/kibana/pull/210613","mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210677","number":210677,"state":"MERGED","mergeCommit":{"sha":"dbe7cc3b4f4b21484f5bb4b26e47fbe541b83fab","message":"[9.0]
[APM] Remove &#x60;error.id&#x60; in
&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not used
(#210613) (#210677)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[APM] Remove &#x60;error.id&#x60;
in\n&#x60;getErrorGroupMainStatistics&#x60; query as it&#x27;s not
used\n(#210613)](https://github.com/elastic/kibana/pull/210613)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sergi\nRomeu\",\"email\":\"sergi.romeu@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-11T18:13:51Z\",\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"v9.0.0\",\"apm\",\"Team:obs-ux-infra_services\",\"backport:version\",\"backport:8.17\",\"v9.1.0\",\"backport:8.18\"],\"title\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's
not\nused\",\"number\":210613,\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/210613\",\"number\":210613,\"mergeCommit\":{\"message\":\"[APM]\nRemove
`error.id` in `getErrorGroupMainStatistics` query as it's not\nused
(#210613)\\n\\n## Summary\\n\\nCloses #210610\\n\\nThis PR
removes\n`error.id` field from being queried
at\\n`getErrorGroupMainStatistics`,\nas it was not being used, as it
was\\nrequired. If we didn't have this\nfield, the endpoint call
would\ncrash.\",\"sha\":\"46cd29e60be24fa3d39b2b364973e0e9b10659b7\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210613","number":210613,"mergeCommit":{"message":"[APM]
Remove `error.id` in `getErrorGroupMainStatistics` query as it's not
used (#210613)\n\n## Summary\n\nCloses #210610\n\nThis PR removes
`error.id` field from being queried at\n`getErrorGroupMainStatistics`,
as it was not being used, as it was\nrequired. If we didn't have this
field, the endpoint call would
crash.","sha":"46cd29e60be24fa3d39b2b364973e0e9b10659b7"}},{"url":"https://github.com/elastic/kibana/pull/210761","number":210761,"branch":"8.x","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/210762","number":210762,"branch":"8.18","state":"OPEN"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants