Prometheus: exports information from docker cAdvisor and traefik
Grafana: visualize exported monitoring data via Prometheus
cAdvisor: export information from containers
Docker compose files
I have separated docker-compose file into two docker-compose files to make it easy to maintain:
docker-compose-things.yaml: consists of configuration for test-things
docker-compose-infra.yaml: consists of infrastructural tools such as portainer, traefik, grafana, cadvisor
Auth & Authz
Regarding auth & authz for additional services, I added simple basic auth for now; maybe it will be easier to see how the tools work together while testing this PR. Therefore, this PR would also close #26.
Portainer alternatives
Similar tools to Portainer:
dyrector-io: A open-source tool made by a small team. Need to run few containers to use the whole thing.
What I would suggest is that we try Portainer and see how it fits our usage. Since we don't depend on it critically, it would be easy to switch to something else in the future.
Resource usages
I have seen varying usage of resources for CPU (5-20%) and memory (400-500MB). I have already put limits in docker files for resource usage, but we can adjust them in the future depending on our needs.
Closes #29.
Here we have new services:
Docker compose files
I have separated docker-compose file into two docker-compose files to make it easy to maintain:
Auth & Authz
Regarding auth & authz for additional services, I added simple basic auth for now; maybe it will be easier to see how the tools work together while testing this PR. Therefore, this PR would also close #26.
Portainer alternatives
Similar tools to Portainer:
What I would suggest is that we try Portainer and see how it fits our usage. Since we don't depend on it critically, it would be easy to switch to something else in the future.
Resource usages
I have seen varying usage of resources for CPU (5-20%) and memory (400-500MB). I have already put limits in docker files for resource usage, but we can adjust them in the future depending on our needs.