Skip to content

[APM] remove unnecessary field service.environment from top dependency spans endpoint#215321

Merged
rmyz merged 1 commit intoelastic:mainfrom
rmyz:215106-apm-fix-top-dependencies-span-no-service_environment
Mar 20, 2025
Merged

[APM] remove unnecessary field service.environment from top dependency spans endpoint#215321
rmyz merged 1 commit intoelastic:mainfrom
rmyz:215106-apm-fix-top-dependencies-span-no-service_environment

Conversation

@rmyz
Copy link
Contributor

@rmyz rmyz commented Mar 20, 2025

Summary

Fixes #215106

This PR removes service.environment as a required field for getTopDependencySpans endpoint.
It was not used at all, so it can be safely removed without adapting the UI.

@rmyz rmyz added release_note:fix v9.0.0 apm Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. backport:version Backport to applied version labels v8.19.0 v9.0.1 labels Mar 20, 2025
@rmyz rmyz self-assigned this Mar 20, 2025
@rmyz rmyz requested a review from a team March 20, 2025 11:45
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @rmyz

Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@rmyz rmyz merged commit 8193e56 into elastic:main Mar 20, 2025
24 checks passed
@rmyz rmyz deleted the 215106-apm-fix-top-dependencies-span-no-service_environment branch March 20, 2025 15:31
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x, 9.0

https://github.com/elastic/kibana/actions/runs/13973201246

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 20, 2025
…y spans endpoint (elastic#215321)

## Summary

Fixes elastic#215106

This PR removes `service.environment` as a required field for
`getTopDependencySpans` endpoint.
It was not used at all, so it can be safely removed without adapting the
UI.

(cherry picked from commit 8193e56)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 20, 2025
…y spans endpoint (elastic#215321)

## Summary

Fixes elastic#215106

This PR removes `service.environment` as a required field for
`getTopDependencySpans` endpoint.
It was not used at all, so it can be safely removed without adapting the
UI.

(cherry picked from commit 8193e56)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 20, 2025
…endency spans endpoint (#215321) (#215361)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[APM] remove unnecessary field service.environment from top
dependency spans endpoint
(#215321)](#215321)

<!--- Backport version: 9.6.6 -->

### 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-03-20T15:31:36Z","message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd","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","v9.1.0","v8.19.0","v9.0.1"],"title":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint","number":215321,"url":"https://github.com/elastic/kibana/pull/215321","mergeCommit":{"message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"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/215321","number":215321,"mergeCommit":{"message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
clintandrewhall pushed a commit to clintandrewhall/kibana that referenced this pull request Mar 20, 2025
…y spans endpoint (elastic#215321)

## Summary

Fixes elastic#215106

This PR removes `service.environment` as a required field for
`getTopDependencySpans` endpoint.
It was not used at all, so it can be safely removed without adapting the
UI.
kibanamachine added a commit that referenced this pull request Mar 21, 2025
…endency spans endpoint (#215321) (#215360)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] remove unnecessary field service.environment from top
dependency spans endpoint
(#215321)](#215321)

<!--- Backport version: 9.6.6 -->

### 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-03-20T15:31:36Z","message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd","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","v9.1.0","v8.19.0","v9.0.1"],"title":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint","number":215321,"url":"https://github.com/elastic/kibana/pull/215321","mergeCommit":{"message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"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/215321","number":215321,"mergeCommit":{"message":"[APM]
remove unnecessary field service.environment from top dependency spans
endpoint (#215321)\n\n## Summary\n\nFixes #215106\n\nThis PR removes
`service.environment` as a required field for\n`getTopDependencySpans`
endpoint.\nIt was not used at all, so it can be safely removed without
adapting
the\nUI.","sha":"8193e56970757edc96fef17b18c6accbc1fad0dd"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Mar 24, 2025
…y spans endpoint (elastic#215321)

## Summary

Fixes elastic#215106

This PR removes `service.environment` as a required field for
`getTopDependencySpans` endpoint.
It was not used at all, so it can be safely removed without adapting the
UI.
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Mar 31, 2025
…y spans endpoint (elastic#215321)

## Summary

Fixes elastic#215106

This PR removes `service.environment` as a required field for
`getTopDependencySpans` endpoint.
It was not used at all, so it can be safely removed without adapting the
UI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

APM: External Dependency Operation view fails to load due to missing service.environment

4 participants