Skip to content

[8.17] [Infra] Fix call to service api (#203451)#203576

Merged
kibanamachine merged 1 commit intoelastic:8.17from
kibanamachine:backport/8.17/pr-203451
Dec 10, 2024
Merged

[8.17] [Infra] Fix call to service api (#203451)#203576
kibanamachine merged 1 commit intoelastic:8.17from
kibanamachine:backport/8.17/pr-203451

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

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)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Dec 10, 2024
@kibanamachine kibanamachine enabled auto-merge (squash) December 10, 2024 13:39
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Dec 10, 2024
@github-actions
Copy link
Copy Markdown
Contributor

🤖 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

elasticmachine commented Dec 10, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 1f7d3f1
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-203576-1f7d3f16f570

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
infra 1528 1529 +1

Async chunks

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

id before after diff
infra 1.7MB 1.7MB +240.0B

History

cc @crespocarlos

@kibanamachine kibanamachine merged commit 0f232c3 into elastic:8.17 Dec 10, 2024
crespocarlos added a commit that referenced this pull request Jan 3, 2025
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Infra] Fix call to service api
(#203451)](#203451)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-10T13:33:32Z","message":"[Infra]
Fix call to service api (#203451)\n\nfixes
[203389](https://github.com/elastic/kibana/issues/203389)\r\n##
Summary\r\n\r\nFix the call to `/api/infra/services` when using a
relative date
range\r\n\r\n\r\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\r\n\r\n\r\n###
How to test\r\n- Navigate to host detail view, and change the data
picker to use\r\nrelative dates\r\n- Click on
Submit","sha":"1a20fda7021fa49d054c19d4757592dda385f5de","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-infra_services","backport:version","v8.17.0","v8.18.0","v8.16.2"],"number":203451,"url":"https://github.com/elastic/kibana/pull/203451","mergeCommit":{"message":"[Infra]
Fix call to service api (#203451)\n\nfixes
[203389](https://github.com/elastic/kibana/issues/203389)\r\n##
Summary\r\n\r\nFix the call to `/api/infra/services` when using a
relative date
range\r\n\r\n\r\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\r\n\r\n\r\n###
How to test\r\n- Navigate to host detail view, and change the data
picker to use\r\nrelative dates\r\n- Click on
Submit","sha":"1a20fda7021fa49d054c19d4757592dda385f5de"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203451","number":203451,"mergeCommit":{"message":"[Infra]
Fix call to service api (#203451)\n\nfixes
[203389](https://github.com/elastic/kibana/issues/203389)\r\n##
Summary\r\n\r\nFix the call to `/api/infra/services` when using a
relative date
range\r\n\r\n\r\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\r\n\r\n\r\n###
How to test\r\n- Navigate to host detail view, and change the data
picker to use\r\nrelative dates\r\n- Click on
Submit","sha":"1a20fda7021fa49d054c19d4757592dda385f5de"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/203576","number":203576,"state":"MERGED","mergeCommit":{"sha":"0f232c352d3baecab8e4d4610f53b7a0b62a52b4","message":"[8.17]
[Infra] Fix call to service api (#203451) (#203576)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.17`:\n- [[Infra] Fix call to service
api\n(#203451)](https://github.com/elastic/kibana/pull/203451)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Carlos\nCrespo\",\"email\":\"crespocarlos@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-12-10T13:33:32Z\",\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\",\"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-infra_services\",\"backport:version\",\"v8.17.0\",\"v8.16.2\"],\"title\":\"[Infra]\nFix
call to
service\napi\",\"number\":203451,\"url\":\"https://github.com/elastic/kibana/pull/203451\",\"mergeCommit\":{\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\",\"8.16\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/203451\",\"number\":203451,\"mergeCommit\":{\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Carlos Crespo
<crespocarlos@users.noreply.github.com>"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/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/elastic/kibana/pull/203451)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Carlos\nCrespo\",\"email\":\"crespocarlos@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-12-10T13:33:32Z\",\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\",\"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-infra_services\",\"backport:version\",\"v8.17.0\",\"v8.16.2\"],\"title\":\"[Infra]\nFix
call to
service\napi\",\"number\":203451,\"url\":\"https://github.com/elastic/kibana/pull/203451\",\"mergeCommit\":{\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\",\"8.16\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/203451\",\"number\":203451,\"mergeCommit\":{\"message\":\"[Infra]\nFix
call to service api
(#203451)\\n\\nfixes\n[203389](https://github.com/elastic/kibana/issues/203389)\\r\\n##\nSummary\\r\\n\\r\\nFix
the call to `/api/infra/services` when using a\nrelative
date\nrange\\r\\n\\r\\n\\r\\n![service_api_relative_date_range](https://github.com/user-attachments/assets/772bba2c-07c8-4031-8d8a-61bdc7ab6d70)\\r\\n\\r\\n\\r\\n###\nHow
to test\\r\\n- Navigate to host detail view, and change the data\npicker
to use\\r\\nrelative dates\\r\\n- Click
on\nSubmit\",\"sha\":\"1a20fda7021fa49d054c19d4757592dda385f5de\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Carlos Crespo
<crespocarlos@users.noreply.github.com>"}},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
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