Open
Description
📓 Summary
🛑 Blocked by elastic/elastic-agent#6630
The OTel K8s onboarding flow should be updated for Serverless to send data through MOTel instead of the OTel ES exporter. This change should be transparent to users as the underlying data model will stay the same.
This change will only target serverless, self-managed and ECH will stay as they are.
![Image](https://private-user-images.githubusercontent.com/5831975/406021682-2436b076-c118-4ef0-a178-a6625ec4305f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzY1NDEsIm5iZiI6MTczOTYzNjI0MSwicGF0aCI6Ii81ODMxOTc1LzQwNjAyMTY4Mi0yNDM2YjA3Ni1jMTE4LTRlZjAtYTE3OC1hNjYyNWVjNDMwNWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTYxNzIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTA4M2JiMjg5YzhhOWZkM2NlNzNmZmZlMzdmYTUyOWEyYzhkYmM3MWJmOGNmMWIyMTcyYzA0YTNiZTA1ZmVkNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HtAL6lJpUYjM07lDq7N_yF_SRoE1MMAHIpU6rwbfqp8)
✔️ Acceptance Criteria
- Automatically generate the relevant API key for the MOTel Input and add it to the code snippet shown in the workflow.
- API key naming to follow ingest-otel-k8s-{timestamp}
- Automatically generate the endpoint URL for the MOTel Input and add it to the code snippet shown in the workflow. `eg. .ingest instead of .apm
- Get the URL for the helm values.yml file from below:
https://github.com/elastic/opentelemetry-dev/issues/630 - Ensure that the logs, metrics, traces from the Kubernetes cluster are sent to the MOTel Input.
- UAT for Kubernetes (EKS, AKS and GCP)
- The workflow should be marked as Tech Preview.
❓ Open questions
- What are the changes needed to the code snippet