Skip to content
Snippets Groups Projects
Verified Commit b9ca1ff5 authored by lelutin's avatar lelutin
Browse files

Discard metrics output. In this instance we only want debug

That'll make it easier to identify what are the obsolete packages in the
output. The openmetrics output is not needed during investigation.
parent 1daba1fc
No related branches found
No related tags found
No related merge requests found
Pipeline #247876 passed with warnings
...@@ -129,7 +129,7 @@ following two commands: ...@@ -129,7 +129,7 @@ following two commands:
apt list "?obsolete" apt list "?obsolete"
# The following will mainly print the same list as above, but there might be # The following will mainly print the same list as above, but there might be
# some more in its list. # some more in its list.
DEBUG=1 /usr/share/prometheus-node-exporter-collectors/apt_info.py DEBUG=1 /usr/share/prometheus-node-exporter-collectors/apt_info.py >/dev/null
Check the state of each package with `apt policy $package` to determine what Check the state of each package with `apt policy $package` to determine what
needs to be done with it. If most cases, the packages can just be purged, but needs to be done with it. If most cases, the packages can just be purged, but
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment