-
Notifications
You must be signed in to change notification settings - Fork 276
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
Integration of Kubernetes support #94
base: master
Are you sure you want to change the base?
Conversation
Hi @opvizordz / @nredko , Thanks for the PR! It's very cool to be able to provide this information. Unfortunately, as I explained in #90, this goes beyond the scope of what I want process-exporter to do. I know you made it an opt-in feature, but even as such I don't want this in the core project. As I see it there are a few options besides the one you chose of embedding all this functionality right in process-exporter.
The advantage of these approaches, besides keeping process-exporter from having hard to test dependencies and less predictable execution time, is that it makes it easier to support other container orchestrators like Nomad, Docker Swarm, etc. (* When I say "containerID" above I'm not 100% clear if that's what it is we want, I'm still pretty ignorant when it comes to the low-level details of containers and cgroups.) |
Is thing still something that is going to be added? Being able to connect a process to a container or even pod would help up so much. |
@opvizordz any plan to maintain and update this fork? the last docker image is throwing errors for me:
|
@tusharbhasme You can try to contact them via https://opvizor.com/ or wait if they will answer here. |
@ncabatoff we reworked the changes to support Kubernetes and map pod names to processes.
For that to work curl and jq are required and we need access to the Kubernetes API (key is shared by default and we use kubernetes variables similar to other projects).
More than happy to provide more details or guidelines if you want.
It would be great if you consider to merge the PR, so we can work together on improvements.
prometheus info looks like that:
app:"prometheus-process-exporter"
chart:"prometheus-process-exporter-0.2.2"
ctxswitchtype:"voluntary"
groupname:"promtail"
heritage:"Tiller"
instance:"10.1.74.221:9100"
job:"kubernetes-service-endpoints"
kubernetes_name:"process-exporter-prometheus-process-exporter"
kubernetes_namespace:"default"
kubernetes_node:"juju-e1b2fa-1"
pod:"loki-promtail-l6jvm"
release:"process-exporter"
Thanks!