projects
/
osm
/
MON.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6b0e0
)
Revert "Increases delta of start_time when collecting OpenStack metrics"
47/7147/1
author
lavado
<glavado@whitestack.com>
Wed, 30 Jan 2019 15:07:06 +0000
(16:07 +0100)
committer
lavado
<glavado@whitestack.com>
Wed, 30 Jan 2019 15:07:06 +0000
(16:07 +0100)
This reverts commit
1b6b0e02f6f82ccc8a441e26bb42183f63a48acc
.
Change-Id: Ieabe8e515fb3cfb5aa96802e4c5bc1305c21f2b3
osm_mon/collector/collectors/openstack.py
patch
|
blob
|
history
diff --git
a/osm_mon/collector/collectors/openstack.py
b/osm_mon/collector/collectors/openstack.py
index
30bab0c
..
395d607
100644
(file)
--- a/
osm_mon/collector/collectors/openstack.py
+++ b/
osm_mon/collector/collectors/openstack.py
@@
-99,8
+99,7
@@
class OpenstackCollector(BaseVimCollector):
for param in vdu['monitoring-param']:
metric_name = param['nfvi-metric']
gnocchi_metric_name = METRIC_MAPPINGS[metric_name]
- delta = 10 * self.granularity
- start_date = datetime.datetime.now() - datetime.timedelta(seconds=delta)
+ start_date = datetime.datetime.now() - datetime.timedelta(seconds=self.granularity)
resource_id = self._get_resource_uuid(nsr_id, vnf_member_index, vdur['name'])
try:
measures = self.gnocchi_client.metric.get_measures(gnocchi_metric_name,