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

feat: add prometheus scrape annotations to pman pod #218

Closed
wants to merge 1 commit into from

Conversation

sakshi1215
Copy link

refers #215

With this we will be able to scrape resource metrics on kubernetes.

@jennydaman
Copy link
Collaborator

#215 is about annotating the containers created by pman, not the pman container itself.

pman doesn't have a /metrics endpoint so I am not sure this would work?

The idea here is, pman creates containers which are ChRIS plugin instances. We want to scrape Kubernetes/cAdvisor to get resource usage of ChRIS plugins.

@jennydaman jennydaman closed this Nov 9, 2022
@sakshi1215
Copy link
Author

sakshi1215 commented Nov 9, 2022 via email

@jennydaman
Copy link
Collaborator

@sakshi1215 the reason why we would want to annotate the pods being created by pman is because we want to use something like cAdvisor to get information about pods which are ChRIS plugin instances. There are probably many pods running, and also some pods which are the ChRIS backend themselves, though we want to be able to collect performance data on just the ChRIS plugin instances and excluding everything else.

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

Successfully merging this pull request may close these issues.

None yet

2 participants