diff --git a/datasource.js b/datasource.js index 831c010..e20af50 100644 --- a/datasource.js +++ b/datasource.js @@ -463,7 +463,7 @@ function (angular, _, moment, sdk, dateMath, kbn) { var period = regex[0].substring('period='.length); var matches = period.match(kbn.interval_regex); if (matches) { - period = kbn.interval_to_seconds(period); + period = kbn.intervalToSeconds(period); target = target.replace(regex, 'period='+period); } } diff --git a/plugin.json b/plugin.json index f504a6d..74084b3 100644 --- a/plugin.json +++ b/plugin.json @@ -26,12 +26,12 @@ {"name": "GitHub", "url": "https://github.com/openstack/monasca-grafana-datasource"}, {"name": "License", "url": "https://github.com/openstack/monasca-grafana-datasource/LICENSE"} ], - "version": "1.3.0", - "updated": "2017-10-23" + "version": "1.4.0", + "updated": "2021-03-09" }, "dependencies": { - "grafanaVersion": "3.x.x", + "grafanaVersion": "7.x.x", "plugins": [ ] } }