mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 06:54:54 +08:00
Add more default metrics
This commit is contained in:
parent
27026ba069
commit
9b1cdddd24
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ def metric_analyser(
|
|||
"npversion": f"{NAME}{version_dict['version']}-{version_dict['build_type']}",
|
||||
"repo_name": repo_name,
|
||||
"action": operation,
|
||||
"audience": version_dict["audience"],
|
||||
"os": version_dict["os"],
|
||||
"arch": version_dict["arch"],
|
||||
}
|
||||
if repo_config.g("global_prometheus") and repo_config.g(
|
||||
"global_prometheus.metrics"
|
||||
|
|
Loading…
Add table
Reference in a new issue