-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ResponseOps] Add telemetry for the es query rule types #176451
[ResponseOps] Add telemetry for the es query rule types #176451
Conversation
/ci |
/ci |
Pinging @elastic/response-ops (Team:ResponseOps) |
Would it make more sense to try to add it to the So something like:
Also, do we want to get the number of |
Resolved in this commit 170416c |
…/kibana into es-query-search-type-telemetry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Works as described.
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Resolves elastic#176237 ## Summary Adds new telemetry fields to track the ES Query rule search types. ### 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 ### To verify - Create a couple of ES Query rules with the different search types - Create a rule that is not an ES Query rule - Change alerting telemetry task [schedule](https://github.com/doakalexi/kibana/blob/main/x-pack/plugins/alerting/server/usage/task.ts#L28) interval 1 min - Run [Telemetry usage payload API](https://docs.elastic.dev/telemetry/collection/snapshot-telemetry#telemetry-usage-payload-api) in your browser console to verify the new telemetry data under `count_by_type` and `count_active_by_type`
Resolves elastic#176237 ## Summary Adds new telemetry fields to track the ES Query rule search types. ### 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 ### To verify - Create a couple of ES Query rules with the different search types - Create a rule that is not an ES Query rule - Change alerting telemetry task [schedule](https://github.com/doakalexi/kibana/blob/main/x-pack/plugins/alerting/server/usage/task.ts#L28) interval 1 min - Run [Telemetry usage payload API](https://docs.elastic.dev/telemetry/collection/snapshot-telemetry#telemetry-usage-payload-api) in your browser console to verify the new telemetry data under `count_by_type` and `count_active_by_type`
Resolves #176237
Summary
Adds new telemetry fields to track the ES Query rule search types.
Checklist
To verify
Create a couple of ES Query rules with the different search types
Create a rule that is not an ES Query rule
Change alerting telemetry task schedule interval 1 min
Run Telemetry usage payload API in your browser console to verify the telemetry data looks the same