Skip to content

skydive-project/skydive-grafana-datasource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Skydive Grafana Datasource

Skydive Datasource for Grafana >= 3.x.

Installation

Docker

docker run -d --name=grafana -p 3000:3000 skydive/skydive-grafana-datasource

Sources

$ git clone https://github.com/skydive-project/skydive-grafana-datasource.git
$ cd skydive-grafana-datasource
$ npm install
$ ./node_modules/grunt-cli/bin/grunt
$ mkdir -p /var/lib/grafana/plugins
$ ln -s `pwd`/dist /var/lib/grafana/plugins/skydive-grafana-datasource

Configuration

Address of Skydive Analyzer has to be used as URL. By default listening on http://localhost:8082

If using Authentication, just use the Basic Auth and provide User/Password of Skydive Analyzer.

In case of Docker deployment make sure that Skydive API is reachable.

Query editor

In order to get metrics the Skydive Gremlin query language is used. You just need to provide a query that returns Flows. Ex:

G.V().Has('Name', 'br-int').Flows()

Refer to the Skydive Gremlin section for further explanations about the syntax and the functions available.

Contact

License

This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.