Commit Graph

29 Commits

Author SHA1 Message Date
Adrian Czarnecki ab821ad180 Adding support for Grafana 7.x
Rename kbn.interval_to_seconds to kbn.intervalToSeconds
function for kbn.interval_to_seconds was renamed in Grafana 7.x to kbn.intervalToSeconds

Change-Id: I0e81f102534b30e0dbba2d4e5ed137611ed53e90
2021-03-09 15:54:11 +01:00
Witek Bedyk e076ee51d2 Add CONTRIBUTING.rst
Change-Id: I11d897526c338ab0af4aef1b660f55888571f97a
2020-05-19 16:21:34 +02:00
Bharat Kunwar e9410a50ba Support time range to query dimension names/values
At present, dimensions are not scoped by time window, which makes
dimension related queries to large databases timeout because it searches
all of time instead of a time window specified on the grafana app.

This commit implements the client side changes to address issue by
scoping the search to time range specified on the app. It also bumps up
the plugin version to 1.3.0 since it is a minor backward compatible API
change.

Depends-On: https://review.opendev.org/#/c/670318
Change-Id: I13614595707697552119926273f06967b8d49b1d
Story: 2006204
Task: 35789
2019-07-25 12:31:21 +01:00
OpenDev Sysadmins 7ce6b8773a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:28:08 +00:00
Denis Poisson 7704954b75 Convert README.md to ReStructuredTest format
Change-Id: Ifd3a177bac59619c91224318b73d6325bf77ef2a
story: 2002163
task: 22236
2018-06-19 15:42:46 +02:00
wangqi 59729fe325 Update links in README
Change the outdated links to the latest links in README

Change-Id: Ibe45e4a43f1dd8670bc06f543798f68c1d60d20f
2018-03-12 03:02:46 +00:00
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
Zuul 74ed419090 Merge "Revert "Add support for monasca-ui metrics API proxy"" 2018-01-09 08:10:32 +00: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
Witold Bedyk 7f0b8621cb Update version numbers
* package.json
* plugin.json

Change-Id: I2497128971af08c7c8aba37a8ca50b0bce7f3d7a
2017-12-11 17:28:35 +01:00
Zuul 286ffd7dca Merge "Add OpenStack default dashboard" 2017-12-05 10:44:36 +00:00
Zuul 72e5fe4c47 Merge "Add support for monasca-ui metrics API proxy" 2017-12-05 10:41:41 +00: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
Haruki Yamanashi 57a547a5fe Add OpenStack default dashboard
This dashboard includes following monitoring target.
- HTTP status check of Nova, Neutron, Glance, Cinder, Swift, Keystone.
- Resource usage
- Network usage

Change-Id: I18254c7447d468b5509b6231dfaf845926210934
2017-12-01 10:02:47 +09:00
Witold Bedyk d17911fabd Add package.json
Change-Id: Ie22c7461c83b26b81350adcbed6ac94b9292be8d
Story: 2001255
Task: 5785
2017-10-23 15:24:00 +02:00
Brad Klein c0db06dd69 Add some dashboard examples
Change-Id: I697bfc0324ab65010a4956ca2297c1ebc738acd8
2017-06-16 10:23:51 -06:00
rajat29 12b381b88b Optimize the link address
Use https instead of http to ensure the safety

Change-Id: Ibd02b805592363e297a75996fdce95b4f14f6530
2017-04-11 14:17:37 +05:30
Jenkins 9846f68d8f Merge "Show team and repo badges on README" 2017-02-08 14:41:17 +00:00
Ryan Bak 95f11b545b Change datasource id
change requested by upstream Grafana as a prereq for publishing
the datasource

Change-Id: Ie0d9866611b1fdc3bcde14d48d1b63225d97adc8
2017-01-30 16:08:37 -07:00
Ryan Bak 6aa9fbe82c Add comments about how to get keystone tokens
For use when the grafana keystone auth is not available.
Requested by the upstream Grafana team

Change-Id: I5ea5c447b0395f7317015fbff8da1b5dc50cd902
2017-01-23 12:34:02 -07: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
Flavio Percoco ad5e8e7183 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/e409a5beedf590fb3e83a7d9772e4e64

Change-Id: Icf30f0c83f3d9cfbdf7352fa85411e9b1a6e6d8a
2016-11-25 18:29:55 +01: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 1381a694b7 Fix templated query expansion
The regex method of doing replace all doesn't work when the string
uses reserved characters.

Change-Id: Ib484b8bc0ab159a12e5b80303f9d7f6084169c94
2016-10-10 11:35:02 -06:00
Ryan Bak 8423bf714e Updates for new dimensions endpoints
Change-Id: Iaf9ddcdb24846a88a925f9a2649736f3d72a7e22
2016-10-06 15:02:40 -06:00
Ryan Bak 19a5c26744 Switch templating to use dimension values endpoint
Change-Id: Iebd7fd20a371a9857c412aee21ba4e8e5780221a
2016-07-28 14:09:37 +00: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
OpenStack Project Creator e03a9c1444 Added .gitreview 2016-07-14 15:30:54 +00:00