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

Expose OpenTelemetry Events for Glasskube packages #918

Open
pmig opened this issue Jul 1, 2024 · 3 comments
Open

Expose OpenTelemetry Events for Glasskube packages #918

pmig opened this issue Jul 1, 2024 · 3 comments
Labels
enhancement New feature or request needs-triage

Comments

@pmig
Copy link
Member

pmig commented Jul 1, 2024

Is your feature request related to a problem? Please describe.
Glasskube doesn't provide any metrics in a standardized way about installed packages, updates and configuration changes

Describe the solution you'd like
Export specific Events as OTel events so the they can get consumed by an OTel infrastructure.

Describe alternatives you've considered
A prometheus metrics endpoint make also make sense.

Additional context

@pmig pmig added enhancement New feature or request needs-triage labels Jul 1, 2024
@kosmoz
Copy link
Member

kosmoz commented Jul 1, 2024

Note that the controller-runtime already comes with a Prometheus-compatible metrics endpoint, but it is not exposed in the deployment manifest of the operator.

@henrikrexed
Copy link

As Platform engineer you want to keep track on the deployment process on the various environment.
it would be clearly helpful to generate observability data on the deployments either by pushing a traces or an event.
Metrics are great but you are loosing details especialy if we are thinking of doing analytics.

Traces are great , but i would be sampled ..so for analytics perspective it would make sense to push OpenTelemetry events to an Opentelemetry Endpoint .
https://opentelemetry.io/docs/specs/otel/logs/event-api/

With an event the end-user could imagine to extract the inventory of components , packages per cluster, team.... if we keep track on the versions of the packages. the analytics would be even go deeper.

@kosmoz
Copy link
Member

kosmoz commented Jul 3, 2024

Related issue: kubernetes-sigs/controller-runtime#305

Doesn't look like the controller-runtime is going to provide out of the box support for this, at least not anytime soon.

If anybody has experience implementing OTel please reach out, we'd love to get some more input on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

3 participants