Open salaboy opened 11 months ago
Keptn now emits Cloud Events. However, we should refactor the code and create a better abstraction. Currently, the events we emit are tailored to Kubernetes events.
shall we create a follow up ticket for the refactoring? i don't think we have one already @thisthat
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The CDEvents extend the CloudEvents specification to define key CloudEvents in the lifecycle of software delivery practices. A tool like Keptn KTL would benefit by consuming and producing these events, promoting ecosystem-wide integrations based on CloudEvents.
Tools like Tekton already produce CDEvents for their PipelineRuns, and while Kubernetes don't produce CDEvents yet, projects like Knative Eventing already generate CloudEvents that can be easily mapped to CDEvents.
While I understand that KTL focuses more on observability and remediation, I see a significant benefit in producing and consuming CDEvents.
I am currently working on an example to calculate DORA metrics using CDEvents: https://github.com/salaboy/platforms-on-k8s/tree/main/chapter-9/dora-cloudevents
By creating this issue, my main goal is to show how these tools and specs can complement each other and enable users to integrate more tools.