projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds osm_automated tag to automated dashboards
[osm/MON.git]
/
osm_mon
/
collector
/
vnf_collectors
/
vrops
/
vrops_helper.py
diff --git
a/osm_mon/collector/vnf_collectors/vrops/vrops_helper.py
b/osm_mon/collector/vnf_collectors/vrops/vrops_helper.py
index
430cf86
..
75819fc
100644
(file)
--- a/
osm_mon/collector/vnf_collectors/vrops/vrops_helper.py
+++ b/
osm_mon/collector/vnf_collectors/vrops/vrops_helper.py
@@
-82,7
+82,8
@@
class vROPS_Helper():
def get_metrics(self,
vdu_mappings={},
monitoring_params={},
def get_metrics(self,
vdu_mappings={},
monitoring_params={},
- vnfr=None):
+ vnfr=None,
+ tags={}):
monitoring_keys = {}
# Collect the names of all the metrics we need to query
monitoring_keys = {}
# Collect the names of all the metrics we need to query
@@
-155,7
+156,9
@@
class vROPS_Helper():
vnfr['member-vnf-index-ref'],
vdu_name,
metric_name,
vnfr['member-vnf-index-ref'],
vdu_name,
metric_name,
- metric_value)
+ metric_value,
+ tags
+ )
metrics.append(metric)
metrics.append(metric)