| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Ayush Anand <ayushanand293@gmail.com>
| rm -rf "$PROMETHEUS_MULTIPROC_DIR" | ||
| mkdir -p "$PROMETHEUS_MULTIPROC_DIR" |
There was a problem hiding this comment.
| rm -rf "$PROMETHEUS_MULTIPROC_DIR" | |
| mkdir -p "$PROMETHEUS_MULTIPROC_DIR" | |
| rm "$PROMETHEUS_MULTIPROC_DIR/*.db" |
This might be a bit safer, and one less thing to do. I also wonder if the example should be in python rather than asking people to run bash before starting python?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Document a recommended startup cleanup pattern for PROMETHEUS_MULTIPROC_DIR to avoid stale metrics across restarts.
Closes #931.
Checklist