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

Investigate getting infrastructure metrics and logs using OTel collectors #16

Closed
petewall opened this issue Jul 5, 2023 · 3 comments
Closed

Comments

@petewall
Copy link
Collaborator

petewall commented Jul 5, 2023

Perhaps something in the values file like:

collector: grafana-agent
OR
collector: otel-collector

And that controls the dependent-chart and the generated config file.

@petewall
Copy link
Collaborator Author

Some technical concerns:
To get logs, per these instructions, we need a daemonset, so there's a collector on each node. However, for metrics, having multiple collectors means the metric endpoints will be scraped multiple times

Also need to see how to run both pod logs and cluster events at the same time (since they both go to Loki).

@petewall
Copy link
Collaborator Author

Also, cluster events needs to set a job label.

@petewall
Copy link
Collaborator Author

petewall commented Aug 1, 2023

Proposal to use the K8s API to get logs, rather than requiring a daemonset: open-telemetry/opentelemetry-collector-contrib#24641

This would be nice, because it'd match what grafana agent is doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant