return resource_list
def get_metrics(self, vdu_mappings={}, monitoring_params={}, vnfr=None, tags={}):
-
monitoring_keys = {}
# Collect the names of all the metrics we need to query
for metric_entry in monitoring_params:
vdu_mappings = sanitized_vdu_mappings
try:
-
# Now we can make a single call to vROPS to collect all relevant metrics for resources we need to monitor
api_url = (
"/suite-api/api/resources/stats?IntervalType=MINUTES&IntervalCount=1"