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

[DataUsage][Serverless] Fix auto ops URL path suffix #200192

Conversation

ashokaditya
Copy link
Member

@ashokaditya ashokaditya commented Nov 14, 2024

Summary

Updates the autoops URL path suffix.

Checklist

@ashokaditya ashokaditya added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:version Backport to applied version labels v8.17.0 labels Nov 14, 2024
@ashokaditya ashokaditya self-assigned this Nov 14, 2024
@ashokaditya ashokaditya requested review from a team as code owners November 14, 2024 14:16
@ashokaditya ashokaditya force-pushed the task/fix-data-usage-autoops-api-integration-path branch from b485396 to af7c1c3 Compare November 14, 2024 14:22
@ashokaditya ashokaditya force-pushed the task/fix-data-usage-autoops-api-integration-path branch from af7c1c3 to 5ce1b98 Compare November 14, 2024 14:23
@YulNaumenko YulNaumenko requested a review from a team as a code owner November 14, 2024 21:18
return async (context, _, response) => {
const logger = dataUsageContext.logFactory.get('dataStreamsRoute');
Copy link
Contributor

Choose a reason for hiding this comment

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

It could be moved to the handler now as it was before (line 17)

return async (context, request, response) => {
const logger = dataUsageContext.logFactory.get('usageMetricsRoute');
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, please move it to the handler level.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 18, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 9cc5aa9
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-200192-9cc5aa973ff8

Metrics [docs]

✅ unchanged

History

cc @ashokaditya

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

maifest changes LGTM

@neptunian neptunian merged commit f4d74ec into elastic:main Nov 18, 2024
23 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 18, 2024
## Summary

Updates the autoops URL path suffix.

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: YulNaumenko <jo.naumenko@gmail.com>
Co-authored-by: neptunian <sandra.gonzales@elastic.co>
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
(cherry picked from commit f4d74ec)
@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

@ashokaditya ashokaditya deleted the task/fix-data-usage-autoops-api-integration-path branch November 18, 2024 20:14
kibanamachine added a commit that referenced this pull request Nov 18, 2024
…200643)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[DataUsage][Serverless] Fix auto ops URL path suffix
(#200192)](#200192)

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

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-18T19:42:59Z","message":"[DataUsage][Serverless]
Fix auto ops URL path suffix (#200192)\n\n## Summary\r\n\r\nUpdates the
autoops URL path suffix.\r\n\r\n### Checklist\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
YulNaumenko <jo.naumenko@gmail.com>\r\nCo-authored-by: neptunian
<sandra.gonzales@elastic.co>\r\nCo-authored-by: Sandra G
<neptunian@users.noreply.github.com>","sha":"f4d74ec4a8a336264f4e37a07b38bcd524bfad8e","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:build-serverless-image","backport:version","v8.17.0"],"title":"[DataUsage][Serverless]
Fix auto ops URL path
suffix","number":200192,"url":"https://github.com/elastic/kibana/pull/200192","mergeCommit":{"message":"[DataUsage][Serverless]
Fix auto ops URL path suffix (#200192)\n\n## Summary\r\n\r\nUpdates the
autoops URL path suffix.\r\n\r\n### Checklist\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
YulNaumenko <jo.naumenko@gmail.com>\r\nCo-authored-by: neptunian
<sandra.gonzales@elastic.co>\r\nCo-authored-by: Sandra G
<neptunian@users.noreply.github.com>","sha":"f4d74ec4a8a336264f4e37a07b38bcd524bfad8e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200192","number":200192,"mergeCommit":{"message":"[DataUsage][Serverless]
Fix auto ops URL path suffix (#200192)\n\n## Summary\r\n\r\nUpdates the
autoops URL path suffix.\r\n\r\n### Checklist\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
YulNaumenko <jo.naumenko@gmail.com>\r\nCo-authored-by: neptunian
<sandra.gonzales@elastic.co>\r\nCo-authored-by: Sandra G
<neptunian@users.noreply.github.com>","sha":"f4d74ec4a8a336264f4e37a07b38bcd524bfad8e"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## Summary

Updates the autoops URL path suffix.

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: YulNaumenko <jo.naumenko@gmail.com>
Co-authored-by: neptunian <sandra.gonzales@elastic.co>
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels ci:build-serverless-image release_note:skip Skip the PR/issue when compiling release notes v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants