elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.51k stars 8.06k forks source link

[Observability Onboarding] Repeat onboarding for k8s onboarding flow #182642

Closed flash1293 closed 1 week ago

flash1293 commented 2 months ago

The existing logs flows detect incoming data via the agent id. In a kubernetes context, it's not possible to feed back the agent id to the onboarding flow in the UI.

To work around this, the kustomize template / k8s manifest should be extended with a processor that adds a custom id to every emitted document. This id is set to the onboarding id, allowing us to monitor the incoming data exclusively for the current onboarding flow.

This is split out as it's not critically important for the functionality.

elasticmachine commented 2 months ago

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

flash1293 commented 2 months ago

An alternative approach would be to check for a new k8s cluster name/identifier to show up in the polled datastreams - if a new cluster appears after the onboarding has been started, this is the one we just onboarded and we can show the success message.

flash1293 commented 2 weeks ago

@mykolaharmash this is handled by the flow we just merged, right?

mykolaharmash commented 1 week ago

@flash1293 yes, it's already part of the flow, so I'll close this one