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

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

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

crespocarlos
Copy link
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 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
Copy link
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
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
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants