What did you do?
We have a postgres-exporter as a service in a Docker Swarm stack
What did you expect to see?
We do not expect container to always reach 100% of RAM in few days
What did you see instead? Under which circumstances?
With prometheus query
(container_memory_working_set_bytes{image!="", container_label_com_docker_swarm_service_name="opencity-aspsr_postgres-exporter"} / (container_spec_memory_limit_bytes{image!=""} > 0) * 100)
we see a steady upwards slope in memory usage: postgres-exporter is gradually consuming all memory over time.
Environment
We have a Docker Swarm service with image:
quay.io/prometheuscommunity/postgres-exporter:v0.17.1
What did you do?
We have a
postgres-exporteras a service in a Docker Swarm stackWhat did you expect to see?
We do not expect container to always reach 100% of RAM in few days
What did you see instead? Under which circumstances?
With prometheus query
(container_memory_working_set_bytes{image!="", container_label_com_docker_swarm_service_name="opencity-aspsr_postgres-exporter"} / (container_spec_memory_limit_bytes{image!=""} > 0) * 100)we see a steady upwards slope in memory usage:
postgres-exporteris gradually consuming all memory over time.Environment
We have a Docker Swarm service with image:
quay.io/prometheuscommunity/postgres-exporter:v0.17.1
postgres_exporter version:
v0.17.1
postgres_exporter flags:
PostgreSQL version:
image: 'postgres:14.17-alpine'