mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-10 22:23:09 +08:00
Partial fix (push gateway) for #150
This commit is contained in:
parent
219105b761
commit
da88f6262e
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ def metric_writer(
|
||||||
logger.info("No metrics authentication present.")
|
logger.info("No metrics authentication present.")
|
||||||
authentication = None
|
authentication = None
|
||||||
|
|
||||||
|
# Partial fix for #150, add repo name and action to backup
|
||||||
|
destination = f"{destination}_repo_name={repo_name}_action={operation}"
|
||||||
upload_metrics(destination, authentication, no_cert_verify, metrics)
|
upload_metrics(destination, authentication, no_cert_verify, metrics)
|
||||||
else:
|
else:
|
||||||
write_metrics_file(
|
write_metrics_file(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue