Commit Graph

7 Commits

Author SHA1 Message Date
Johannes Grassler 44e813f027 Revert "Revert "Add support for monasca-ui metrics API proxy""
This reverts commit 5eba5cf392
and thus restores the original "Add support for monasca-ui
metrics API proxy" patch
(bb5178406c). It is best to fix
this problem in Keystone patched Grafana:

https://github.com/monasca/grafana/pull/1

Change-Id: Ib1f79cfe2137890f0b984543591ff86f476b3385
2018-01-16 13:50:33 +01:00
Witold Bedyk 5eba5cf392 Revert "Add support for monasca-ui metrics API proxy"
This change breaks the devstack installation. The Monasca datasource
cannot connect with Monasca API. I'm reverting until fixed.

t=2017-12-21T15:27:04+0000 lvl=info msg="Proxying call to [http://192.168.10.6:8070/v2.0/metrics/names]"
t=2017-12-21T15:27:04+0000 lvl=info msg="Request Completed" logger=context userId=2 orgId=2 uname=mini-mon method=GET path=/v2.0/metrics/names status=401 remote_addr=192.168.10.1 time_ms=3ns size=114

This reverts commit bb5178406c.

Change-Id: Ie544c50fa817dbce0865c8885b33312be6d37ccf
2017-12-22 09:18:08 +01:00
Johannes Grassler bb5178406c Add support for monasca-ui metrics API proxy
This commit adds support for the Monasca API proxy provided by
the monasca-ui Horizon plugin. This Horizon plugin combined
with direct access in the Monasca data source allows using a
user's Horizon session for authenticating and authorizing
access to the Monasca API.

Change-Id: I98bd8ff7bcc55dcd911e87037b64840035542155
Story: 2001305
Task: 5856
2017-12-05 11:02:22 +01:00
Ryan Bak bfea37670d Fix/remove validation for keys in datasource
This doesn't require validation, and the existing validation was probably
copied over on accident

Change-Id: Iebd6206cd35f9f3b3415b5af3c6ed6b30a1662db
2017-01-10 16:32:06 -07:00
Ryan Bak 7f08241c49 Update datasource for group_by api changes
Change-Id: I1339c11d5b7bc4c231f6668004077ac8c27e3db2
2016-11-07 13:18:36 -07:00
Ryan Bak bc56847bc9 Add annotation support for monasca plugin
Includes cleanup of datasource.js
Also removes directives.js as it is no longer used

Change-Id: I032c937a1360f9fe75e6ad0a762ceee46256f8c6
2016-10-19 10:57:44 -06:00
Ryan Bak eb7b0c6c89 Move monasca datasource to new repo
The previous repo was
https://github.com/twc-openstack/grafana-plugins

Change-Id: I07ce789fb7455a8969fa9c6e8bcc78a09de1c0b3
2016-07-27 17:21:19 +00:00