Skip to content

Conversation

@baileycash-elastic
Copy link
Contributor

@baileycash-elastic baileycash-elastic commented Mar 14, 2025

Summary

Resolves #212981

Screenshot 2025-03-14 at 4 32 57 PM

Release Notes

Adds the ability to create an APM availability or latency SLO for all services

@baileycash-elastic baileycash-elastic added Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. backport:prev-minor v9.1.0 release_note:enhancement labels Mar 14, 2025
@baileycash-elastic baileycash-elastic marked this pull request as ready for review March 14, 2025 20:37
@baileycash-elastic baileycash-elastic requested a review from a team as a code owner March 14, 2025 20:37
@elasticmachine
Copy link
Contributor

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

@kdelemme kdelemme self-requested a review March 14, 2025 21:10
@kdelemme
Copy link
Contributor

kdelemme commented Mar 14, 2025

I think we can let the user choose a specific value for the other fields, even when the service.name is ALL.
The APM suggestion API actually allows fetching suggestions without specifying the service.name.

I've tested quickly on the branch:
image

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

There are a few things we can change:

  • remove allowAllOption from component since we always allow it. This should simplify a bit the options generation.
  • remove the isDisabled check since we don't rely on a ServiceName anymore.
  • Update the hook to include the serviceName query parameter if and only if the serviceName is not ALL_VALUE

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
slo 921.8KB 921.8KB +19.0B

@baileycash-elastic
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

thanks for making the changes. One last neat. And have you tried editing an SLO created with an APM indicator (some with All, some with specific values?)? Are the fields pre-filled correctly?

@baileycash-elastic baileycash-elastic enabled auto-merge (squash) March 18, 2025 15:06
@baileycash-elastic baileycash-elastic added backport:skip This PR does not require backporting and removed backport:prev-minor labels Mar 18, 2025
@elasticmachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #117 / apis guided onboarding GET /internal/guided_onboarding/guides returns all created guides (active and inactive)

History

@baileycash-elastic baileycash-elastic merged commit 0a10127 into elastic:main Mar 18, 2025
9 checks passed
clintandrewhall pushed a commit to clintandrewhall/kibana that referenced this pull request Mar 20, 2025
## Summary

Resolves elastic#212981

![Screenshot 2025-03-14 at 4 32
57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)

## Release Notes

Adds the ability to create an APM availability or latency SLO for all
services

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
## Summary

Resolves elastic#212981

![Screenshot 2025-03-14 at 4 32
57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)

## Release Notes

Adds the ability to create an APM availability or latency SLO for all
services

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Mar 24, 2025
## Summary

Resolves elastic#212981

![Screenshot 2025-03-14 at 4 32
57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)

## Release Notes

Adds the ability to create an APM availability or latency SLO for all
services

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Mar 31, 2025
## Summary

Resolves elastic#212981

![Screenshot 2025-03-14 at 4 32
57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)

## Release Notes

Adds the ability to create an APM availability or latency SLO for all
services

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
baileycash-elastic added a commit to baileycash-elastic/kibana that referenced this pull request May 6, 2025
## Summary

Resolves elastic#212981

![Screenshot 2025-03-14 at 4 32
57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)

## Release Notes

Adds the ability to create an APM availability or latency SLO for all
services

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
(cherry picked from commit 0a10127)
@baileycash-elastic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

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

Questions ?

Please refer to the Backport tool documentation

baileycash-elastic added a commit that referenced this pull request May 7, 2025
#220268)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[SLO] add ability to select all services for apm slos
(#214653)](#214653)

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

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

<!--BACKPORT [{"author":{"name":"Bailey
Cash","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-18T19:23:19Z","message":"[SLO]
add ability to select all services for apm slos (#214653)\n\n##
Summary\n\nResolves #212981\n\n![Screenshot 2025-03-14 at 4
32\n57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)\n\n##
Release Notes\n\nAdds the ability to create an APM availability or
latency SLO for all\nservices\n\n---------\n\nCo-authored-by: Elastic
Machine <[email protected]>\nCo-authored-by: Kevin
Delemme
<[email protected]>","sha":"0a10127efccc07846efdf6fe1e63bdbd75d62f4f","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:skip","Team:obs-ux-management","v9.1.0"],"title":"[SLO]
add ability to select all services for apm
slos","number":214653,"url":"https://github.com/elastic/kibana/pull/214653","mergeCommit":{"message":"[SLO]
add ability to select all services for apm slos (#214653)\n\n##
Summary\n\nResolves #212981\n\n![Screenshot 2025-03-14 at 4
32\n57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)\n\n##
Release Notes\n\nAdds the ability to create an APM availability or
latency SLO for all\nservices\n\n---------\n\nCo-authored-by: Elastic
Machine <[email protected]>\nCo-authored-by: Kevin
Delemme
<[email protected]>","sha":"0a10127efccc07846efdf6fe1e63bdbd75d62f4f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214653","number":214653,"mergeCommit":{"message":"[SLO]
add ability to select all services for apm slos (#214653)\n\n##
Summary\n\nResolves #212981\n\n![Screenshot 2025-03-14 at 4
32\n57 PM](https://github.com/user-attachments/assets/37ce3d96-1337-4106-91de-6de0f3057fee)\n\n##
Release Notes\n\nAdds the ability to create an APM availability or
latency SLO for all\nservices\n\n---------\n\nCo-authored-by: Elastic
Machine <[email protected]>\nCo-authored-by: Kevin
Delemme
<[email protected]>","sha":"0a10127efccc07846efdf6fe1e63bdbd75d62f4f"}}]}]
BACKPORT-->

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kevin Delemme <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:enhancement Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SLO] Update APM indicators to accept all service.name

4 participants