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.x] [ResponseOps][Cases] Fix a bug with cases telemetry where data from other spaces are not included (#193166) #193417

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

cnasikas
Copy link
Member

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…ther spaces are not included (elastic#193166)

## Summary

The Find SO API supports the `namespaces` parameter where you can define
the spaces that the SO client should search for. If you omit the
`namespaces` parameter, the SO client will use the active space. This PR
creates a wrapper around the SO client to add the `namespaces: ['*']` to
all Find SO usages to count telemetry on all spaces.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [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

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6b372b7)

# Conflicts:
#	x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #36 / InfraOps App Metrics UI Hosts View #With data #Single Host Flyout Tabs Overview Tab cpuUsage tile should show 48.3%

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 720 721 +1

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 744 745 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cnasikas cnasikas merged commit 33e06d2 into elastic:8.x Sep 19, 2024
26 checks passed
@cnasikas cnasikas deleted the backport/8.x/pr-193166 branch September 19, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants