FNNDSC / pman

A process management system written in python
MIT License
22 stars 33 forks source link

Annotation of containers created by pman #215

Open jennydaman opened 1 year ago

jennydaman commented 1 year ago

pman should annotate the containers it creates (on Kubernetes or Docker Swarm) so that the container engine can be queried for information about currently existing containers created by ChRIS. Such a feature would enable telemetry about container runtime information, e.g. "what is the peak memory usage of ChRIS plugins?"

sakshi1215 commented 1 year ago

@jennydaman https://github.com/FNNDSC/pman/pull/218 To get the per plugins metrics we need to expose metrics at some pod, I can write a small prometheus server which can expose all these details from the container.

jennydaman commented 1 year ago

223 added a new setting JOB_LABELS which is currently supported by CONTAINER_ENV=docker