Closed agileshaw closed 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.
--debug
To allow users easily turn debug mode on and off, we should add a debug config option and let the user the charm configure its value there.
debug
Relates to: https://github.com/canonical/charm-prometheus-juju-exporter/issues/12
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, we should add a
debug
config option and let the user the charm configure its value there.Relates to: https://github.com/canonical/charm-prometheus-juju-exporter/issues/12