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

Support send data to remote Otel collector #933

Closed
3 tasks done
Tracked by #931
jvanz opened this issue Dec 4, 2024 · 0 comments · Fixed by #934
Closed
3 tasks done
Tracked by #931

Support send data to remote Otel collector #933

jvanz opened this issue Dec 4, 2024 · 0 comments · Fixed by #934
Assignees
Milestone

Comments

@jvanz
Copy link
Member

jvanz commented Dec 4, 2024

This issue is keep track of a subset of the changes necessary to allow Kubewarden send data to remote OpenTelemetry (Otel) collectors. As described in #931.

Currently, the controller is able to send data to a Otel collector running as sidecar. It's necessary to change exporter in the Kubewarden controller to send data to a remote Otel collector and properly configure the policy servers to do the same

Acceptance criteria

  • Add a flag to signal when the Otel collector is running as sidecar.
    • Update the controller code to add the Otel sidecar injection annotation in the policy server deployments only when necessary. If the user is sending data to a remote collector, it is not necessary to add it.
  • Change the code used to configure the Otel collector to consider the information from the environment variable.
  • Replicate the Otel configuration defined in the controller into the policy servers deployment. Including:
    • Otel collector endpoint
    • Otel TLS configuration(e.g. insecure connections and/or certificate to be used)
    • Mount of the certificates to be used
@jvanz jvanz moved this to In Progress in Kubewarden Dec 4, 2024
@jvanz jvanz self-assigned this Dec 4, 2024
@jvanz jvanz added this to the 1.20 milestone Dec 4, 2024
@jvanz jvanz moved this from In Progress to Pending review in Kubewarden Dec 10, 2024
@github-project-automation github-project-automation bot moved this from Pending review to Done in Kubewarden Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant