Skip to content
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

[Logs] Deprecate HTTP APIs used in LogStream app #201974

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

tonyghiani
Copy link
Contributor

@tonyghiani tonyghiani commented Nov 27, 2024

📓 Summary

Closes #200968

These changes deprecate internal APIs used by the LogStream app, which is also deprecated.

With v9, any internal API will become unreachable from external origins. In case we get an external request to these APIs (although it should be less likely to happen), the deprecation will be surfaced on the Upgrade Assistant UI as a warning.

Screenshot 2024-11-27 at 13 16 39 Screenshot 2024-11-27 at 13 16 25

@tonyghiani tonyghiani added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-logs Observability Logs User Experience Team labels Nov 27, 2024
@tonyghiani tonyghiani marked this pull request as ready for review November 27, 2024 15:16
@tonyghiani tonyghiani requested a review from a team as a code owner November 27, 2024 15:16
@elasticmachine
Copy link
Contributor

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

@tonyghiani tonyghiani changed the title [LogsUI] Deprecate HTTP APIs used in LogStream app [Logs] Deprecate HTTP APIs used in LogStream app Nov 28, 2024
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

@gbamparop gbamparop left a comment

Choose a reason for hiding this comment

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

LGTM!

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 11, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: fe708b9
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-201974-fe708b9fd6f5

Metrics [docs]

✅ unchanged

History

@tonyghiani tonyghiani merged commit a176c0f into elastic:main Dec 11, 2024
8 checks passed
@tonyghiani tonyghiani deleted the 200968-deprecate-logs-api branch December 11, 2024 10:41
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 11, 2024
## 📓 Summary

Closes elastic#200968

These changes deprecate internal APIs used by the LogStream app, which
is also deprecated.

With v9, any internal API will become unreachable from external origins.
In case we get an external request to these APIs (although it should be
less likely to happen), the deprecation will be surfaced on the Upgrade
Assistant UI as a warning.

<img width="3005" alt="Screenshot 2024-11-27 at 13 16 39"
src="https://github.com/user-attachments/assets/c3864a5a-49c7-4cbd-8893-9041b5ee207e">

<img width="3007" alt="Screenshot 2024-11-27 at 13 16 25"
src="https://github.com/user-attachments/assets/f9fb254f-b795-4d01-8d92-463a0ca526a3">

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
(cherry picked from commit a176c0f)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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 Dec 11, 2024
…3748)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Logs] Deprecate HTTP APIs used in LogStream app
(#201974)](#201974)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Marco Antonio
Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2024-12-11T10:41:28Z","message":"[Logs]
Deprecate HTTP APIs used in LogStream app (#201974)\n\n## 📓
Summary\r\n\r\nCloses #200968 \r\n\r\nThese changes deprecate internal
APIs used by the LogStream app, which\r\nis also deprecated.\r\n\r\nWith
v9, any internal API will become unreachable from external
origins.\r\nIn case we get an external request to these APIs (although
it should be\r\nless likely to happen), the deprecation will be surfaced
on the Upgrade\r\nAssistant UI as a warning.\r\n\r\n<img width=\"3005\"
alt=\"Screenshot 2024-11-27 at 13 16
39\"\r\nsrc=\"https://github.com/user-attachments/assets/c3864a5a-49c7-4cbd-8893-9041b5ee207e\">\r\n\r\n<img
width=\"3007\" alt=\"Screenshot 2024-11-27 at 13 16
25\"\r\nsrc=\"https://github.com/user-attachments/assets/f9fb254f-b795-4d01-8d92-463a0ca526a3\">\r\n\r\nCo-authored-by:
Marco Antonio Ghiani
<marcoantonio.ghiani@elastic.co>","sha":"a176c0fdd7815e5841ed78f5213f1296226b276e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs"],"title":"[Logs]
Deprecate HTTP APIs used in LogStream
app","number":201974,"url":"https://github.com/elastic/kibana/pull/201974","mergeCommit":{"message":"[Logs]
Deprecate HTTP APIs used in LogStream app (#201974)\n\n## 📓
Summary\r\n\r\nCloses #200968 \r\n\r\nThese changes deprecate internal
APIs used by the LogStream app, which\r\nis also deprecated.\r\n\r\nWith
v9, any internal API will become unreachable from external
origins.\r\nIn case we get an external request to these APIs (although
it should be\r\nless likely to happen), the deprecation will be surfaced
on the Upgrade\r\nAssistant UI as a warning.\r\n\r\n<img width=\"3005\"
alt=\"Screenshot 2024-11-27 at 13 16
39\"\r\nsrc=\"https://github.com/user-attachments/assets/c3864a5a-49c7-4cbd-8893-9041b5ee207e\">\r\n\r\n<img
width=\"3007\" alt=\"Screenshot 2024-11-27 at 13 16
25\"\r\nsrc=\"https://github.com/user-attachments/assets/f9fb254f-b795-4d01-8d92-463a0ca526a3\">\r\n\r\nCo-authored-by:
Marco Antonio Ghiani
<marcoantonio.ghiani@elastic.co>","sha":"a176c0fdd7815e5841ed78f5213f1296226b276e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201974","number":201974,"mergeCommit":{"message":"[Logs]
Deprecate HTTP APIs used in LogStream app (#201974)\n\n## 📓
Summary\r\n\r\nCloses #200968 \r\n\r\nThese changes deprecate internal
APIs used by the LogStream app, which\r\nis also deprecated.\r\n\r\nWith
v9, any internal API will become unreachable from external
origins.\r\nIn case we get an external request to these APIs (although
it should be\r\nless likely to happen), the deprecation will be surfaced
on the Upgrade\r\nAssistant UI as a warning.\r\n\r\n<img width=\"3005\"
alt=\"Screenshot 2024-11-27 at 13 16
39\"\r\nsrc=\"https://github.com/user-attachments/assets/c3864a5a-49c7-4cbd-8893-9041b5ee207e\">\r\n\r\n<img
width=\"3007\" alt=\"Screenshot 2024-11-27 at 13 16
25\"\r\nsrc=\"https://github.com/user-attachments/assets/f9fb254f-b795-4d01-8d92-463a0ca526a3\">\r\n\r\nCo-authored-by:
Marco Antonio Ghiani
<marcoantonio.ghiani@elastic.co>","sha":"a176c0fdd7815e5841ed78f5213f1296226b276e"}}]}]
BACKPORT-->

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## 📓 Summary

Closes elastic#200968 

These changes deprecate internal APIs used by the LogStream app, which
is also deprecated.

With v9, any internal API will become unreachable from external origins.
In case we get an external request to these APIs (although it should be
less likely to happen), the deprecation will be surfaced on the Upgrade
Assistant UI as a warning.

<img width="3005" alt="Screenshot 2024-11-27 at 13 16 39"
src="https://github.com/user-attachments/assets/c3864a5a-49c7-4cbd-8893-9041b5ee207e">

<img width="3007" alt="Screenshot 2024-11-27 at 13 16 25"
src="https://github.com/user-attachments/assets/f9fb254f-b795-4d01-8d92-463a0ca526a3">

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-logs Observability Logs User Experience Team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs] Soft deprecate legacy internal endpoints
4 participants