Open NilsBaumgartner1994 opened 1 week ago
Yes, depending on the type of metric you will get different results. Mainly the request counter.
This is expected behaviour for prometheus. For counters, you need to consume all pods and sum them. This means you will most likely have to run prometheus inside your kubernetes cluster.
Sorry, my assumption was that you were using kubernetes but obviously you are sharing a docker compose file. The same concept still stands: Use prometheus target discovery to make sure it polls all containers.
https://docs.directus.io/blog/understanding-kubernetes.html
When deploying with replicas we get different results when hitting /metrics
docker-compose.yaml