canonical / prometheus-juju-exporter

GNU General Public License v3.0
2 stars 8 forks source link

Add debug config option and remove cli argument #36

Closed agileshaw closed 1 year ago

agileshaw commented 1 year ago

Since the snap is running as a deamon process, it is not possible to run exporter with --debug flag in its CLI command without re-packing the snap. To allow users easily turn debug mode on and off, a debug config option is added.

Fixes: https://github.com/canonical/prometheus-juju-exporter/issues/30