mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-30 15:29:05 +08:00
CLI: Add anoter debug line for prometheus metrics upload
This commit is contained in:
parent
eadb150b94
commit
e4cffadd54
1 changed files with 2 additions and 0 deletions
|
|
@ -176,6 +176,8 @@ def metric_writer(
|
|||
logger.error(
|
||||
"Cannot write metrics file {}: {}".format(destination, exc)
|
||||
)
|
||||
else:
|
||||
logger.debug("No metrics destination set. Not sending metrics")
|
||||
except KeyError as exc:
|
||||
logger.info("Metrics error: {}".format(exc))
|
||||
logger.debug("Trace:", exc_info=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue