Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.16] [ObsUX][Infra] Add telemetry for anomaly job creation (#198061) (
#198442) # Backport This will backport the following commits from `main` to `8.16`: - [[ObsUX][Infra] Add telemetry for anomaly job creation (#198061)](#198061) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Miriam","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-30T20:45:48Z","message":"[ObsUX][Infra] Add telemetry for anomaly job creation (#198061)\n\nCloses https://github.com/elastic/kibana/issues/189619\r\n\r\nTelemetry events created:\r\n\r\n- Infra Anomaly Detection Job Setup\r\n```\r\n{\r\n \"event_type\":\"Infra Anomaly Detection Job Setup\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"configured_fields\":{\"start_date\":\"2024-09-24T16:11:41.446Z\",\"partition_field\":\"cloud.instance.id\",\"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"}\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Date Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"start_date\":\"2024-09-24T16:11:41.446Z\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Partition Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"partition_field\":\"cloud.instance.id\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Filter Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"\r\n } \r\n}\r\n```","sha":"227aaf3e14448282894bcbc422531a04dd949f4a","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:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","backport:version"],"title":"[ObsUX][Infra] Add telemetry for anomaly job creation","number":198061,"url":"https://github.com/elastic/kibana/pull/198061","mergeCommit":{"message":"[ObsUX][Infra] Add telemetry for anomaly job creation (#198061)\n\nCloses https://github.com/elastic/kibana/issues/189619\r\n\r\nTelemetry events created:\r\n\r\n- Infra Anomaly Detection Job Setup\r\n```\r\n{\r\n \"event_type\":\"Infra Anomaly Detection Job Setup\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"configured_fields\":{\"start_date\":\"2024-09-24T16:11:41.446Z\",\"partition_field\":\"cloud.instance.id\",\"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"}\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Date Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"start_date\":\"2024-09-24T16:11:41.446Z\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Partition Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"partition_field\":\"cloud.instance.id\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Filter Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"\r\n } \r\n}\r\n```","sha":"227aaf3e14448282894bcbc422531a04dd949f4a"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198061","number":198061,"mergeCommit":{"message":"[ObsUX][Infra] Add telemetry for anomaly job creation (#198061)\n\nCloses https://github.com/elastic/kibana/issues/189619\r\n\r\nTelemetry events created:\r\n\r\n- Infra Anomaly Detection Job Setup\r\n```\r\n{\r\n \"event_type\":\"Infra Anomaly Detection Job Setup\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"configured_fields\":{\"start_date\":\"2024-09-24T16:11:41.446Z\",\"partition_field\":\"cloud.instance.id\",\"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"}\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Date Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"start_date\":\"2024-09-24T16:11:41.446Z\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Partition Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"partition_field\":\"cloud.instance.id\"\r\n } \r\n}\r\n```\r\n- Infra Anomaly Detection Job Filter Field Change\r\n```\r\n{\r\n \"event_type\":\" Infra Anomaly Detection Job Date Field Change\",\r\n \"context\":{...}\r\n \"properties\": {\r\n \"job_type\":\"host\",\r\n \"filter_field\": \"host.name:\\\"gke-edge-lite-oblt-edge-lite-oblt-poo-f77db573-2249\\\"\r\n } \r\n}\r\n```","sha":"227aaf3e14448282894bcbc422531a04dd949f4a"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Miriam <[email protected]>
- Loading branch information