Skip to content

[8.16] [Infra] Fix call to service api (#203451)#205475

Merged
crespocarlos merged 1 commit intoelastic:8.16from
crespocarlos:backport/8.16/pr-203451
Jan 3, 2025
Merged

[8.16] [Infra] Fix call to service api (#203451)#205475
crespocarlos merged 1 commit intoelastic:8.16from
crespocarlos:backport/8.16/pr-203451

Conversation

@crespocarlos
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.16:

Questions ?

Please refer to the Backport tool documentation

\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by: Carlos Crespo "}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com//pull/203577","number":203577,"state":"MERGED","mergeCommit":{"sha":"ec0cab5bf2e609745233c9e3c27eb7a1d4374d27","message":"[8.x] [Infra] Fix call to service api (#203451) (#203577)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[Infra] Fix call to service api\n(#203451)](https://github.com//pull/203451)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by: Carlos Crespo "}},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->

fixes [203389](elastic#203389)
## Summary

Fix the call to `/api/infra/services` when using a relative date range

![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)

### How to test
- Navigate to host detail view, and change the data picker to use
relative dates
- Click on Submit

(cherry picked from commit 1a20fda)

# Conflicts:
#	x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts
@crespocarlos crespocarlos added the backport This PR is a backport of another PR label Jan 3, 2025
@crespocarlos crespocarlos enabled auto-merge (squash) January 3, 2025 09:27
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jan 3, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 3, 2025

🤖 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!)

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: e8a19a3
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-205475-e8a19a39d718

@crespocarlos crespocarlos merged commit 492bd48 into elastic:8.16 Jan 3, 2025
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 ci:project-deploy-observability Create an Observability project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants