You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.19] [Observability] [Rules] Add telemetry for linked dashboards and investigation guide (#217502) (#220422)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Observability] [Rules] Add telemetry for linked dashboards and
investigation guide
(#217502)](#217502)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Bena
Kansara","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-07T18:09:11Z","message":"[Observability]
[Rules] Add telemetry for linked dashboards and investigation guide
(#217502)\n\nPart of
https://github.com/elastic/kibana/issues/216491\n\nAdds telemetry for
linked dashboards and investigation guide fields that\nare coming soon:
https://github.com/elastic/kibana/issues/214522,\nhttps://github.com/elastic/kibana/issues/213024\n\n-
Number of rules with linked dashboards\n- Number of rules with non-empty
investigation guide\n\nTo test, you can use the following API call. The
result should include\ntwo new fields:
`count_rules_with_linked_dashboards`
and\n`count_rules_with_investigation_guide`\n\n```\nPOST
kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{\n
\"unencrypted\": true,\n \"refreshCache\": true\n}\n```\n\n### Note\nI
have added a comment to update one test
file\n(`x-pack/test/alerting_api_integration/common/lib/get_test_rule_data.ts`)\nonce
`artifacts` field is available in
schema.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"23683e59c06a9e10f12a245c8a0c2d7f07563e03","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"[Observability]
[Rules] Add telemetry for linked dashboards and investigation
guide","number":217502,"url":"https://github.com/elastic/kibana/pull/217502","mergeCommit":{"message":"[Observability]
[Rules] Add telemetry for linked dashboards and investigation guide
(#217502)\n\nPart of
https://github.com/elastic/kibana/issues/216491\n\nAdds telemetry for
linked dashboards and investigation guide fields that\nare coming soon:
https://github.com/elastic/kibana/issues/214522,\nhttps://github.com/elastic/kibana/issues/213024\n\n-
Number of rules with linked dashboards\n- Number of rules with non-empty
investigation guide\n\nTo test, you can use the following API call. The
result should include\ntwo new fields:
`count_rules_with_linked_dashboards`
and\n`count_rules_with_investigation_guide`\n\n```\nPOST
kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{\n
\"unencrypted\": true,\n \"refreshCache\": true\n}\n```\n\n### Note\nI
have added a comment to update one test
file\n(`x-pack/test/alerting_api_integration/common/lib/get_test_rule_data.ts`)\nonce
`artifacts` field is available in
schema.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"23683e59c06a9e10f12a245c8a0c2d7f07563e03"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217502","number":217502,"mergeCommit":{"message":"[Observability]
[Rules] Add telemetry for linked dashboards and investigation guide
(#217502)\n\nPart of
https://github.com/elastic/kibana/issues/216491\n\nAdds telemetry for
linked dashboards and investigation guide fields that\nare coming soon:
https://github.com/elastic/kibana/issues/214522,\nhttps://github.com/elastic/kibana/issues/213024\n\n-
Number of rules with linked dashboards\n- Number of rules with non-empty
investigation guide\n\nTo test, you can use the following API call. The
result should include\ntwo new fields:
`count_rules_with_linked_dashboards`
and\n`count_rules_with_investigation_guide`\n\n```\nPOST
kbn:/internal/telemetry/clusters/_stats?apiVersion=2\n{\n
\"unencrypted\": true,\n \"refreshCache\": true\n}\n```\n\n### Note\nI
have added a comment to update one test
file\n(`x-pack/test/alerting_api_integration/common/lib/get_test_rule_data.ts`)\nonce
`artifacts` field is available in
schema.\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"23683e59c06a9e10f12a245c8a0c2d7f07563e03"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
---------
Co-authored-by: kibanamachine <[email protected]>
0 commit comments