Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question][Opentelemetry] Otlp receiver for CICD events #8273

Open
christophe-kamphaus-jemmic opened this issue Jan 19, 2025 · 1 comment
Open
Labels
devops Something about CI/CD (devops) type/question This issue is a question

Comments

@christophe-kamphaus-jemmic

Question

What would be needed for DevLake to be able to process incoming CICD events via the OpenTelemetry protocol (otlp)?

I suppose that it could work similar to the webhook plugin.

Additional context

The OpenTelemetry Semantic Conventions SIG for CICD is working on defining CICD signals in OpenTelemetry.
https://www.cncf.io/blog/2024/11/04/opentelemetry-is-expanding-into-ci-cd-observability/

Copy link

dosubot bot commented Jan 19, 2025

Hello, @christophe-kamphaus-jemmic! I'm here to help you with any bugs, questions, or contributions you may have. Feel free to ask me anything while you wait for a human maintainer.

To enable DevLake to process incoming CI/CD events via the OpenTelemetry protocol (OTLP), similar functionality to the existing webhook plugin would need to be implemented. This would involve creating a receiver that can handle OTLP data, aligning with the OpenTelemetry Semantic Conventions for CI/CD. The architecture would need to support the ingestion, transformation, and storage of OTLP data, similar to how the webhook plugin processes JSON payloads for incidents and deployments [1].

Key components that might require modification include:

  1. Data Ingestion Layer: Implementing an OTLP receiver to accept and process incoming CI/CD events.
  2. Data Transformation and Storage: Adapting the existing dataflow process to handle OTLP data, ensuring it fits into the Raw, Tool, and Domain layers of DevLake's architecture [2].
  3. Metrics and Analytics: Extending the analytics capabilities to support metrics derived from OTLP data, potentially leveraging the work of the CI/CD Observability SIG to ensure compatibility with emerging standards.

This approach would allow DevLake to integrate with the broader OpenTelemetry ecosystem, supporting standardized observability practices in CI/CD environments.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the devops Something about CI/CD (devops) label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Something about CI/CD (devops) type/question This issue is a question
Projects
None yet
Development

No branches or pull requests

1 participant