This commit is contained in:
parent
32557ada0a
commit
c13883e1c7
@ -7,7 +7,7 @@
|
|||||||
#+select_tags: export
|
#+select_tags: export
|
||||||
#+exclude_tags: noexport
|
#+exclude_tags: noexport
|
||||||
|
|
||||||
Sometimes it can be useful to build a graph of docker memory usage over time. For example, I was recently working on reducing the maximum memory of a long-running script. There certainly are heavy and complex options out there like setting up Prometheus and [[configuring docker to export metrics to it][https://docs.docker.com/engine/daemon/prometheus/]] but I threw together a small python script, using only the python standard library, that outputs gnuplot code to render a graph.
|
Sometimes it can be useful to build a graph of docker memory usage over time. For example, I was recently working on reducing the maximum memory of a long-running script. There certainly are heavy and complex options out there like setting up Prometheus and [[https://docs.docker.com/engine/daemon/prometheus/][configuring docker to export metrics to it]] but I threw together a small python script, using only the python standard library, that outputs gnuplot code to render a graph.
|
||||||
|
|
||||||
|
|
||||||
* Usage
|
* Usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user