Commit 0afa545b by Torkel Ödegaard

Merge branch 'master' of github.com:grafana/grafana

parents 896605f8 937cefe8
...@@ -69,8 +69,22 @@ Name | Description ...@@ -69,8 +69,22 @@ Name | Description
For details about the metrics CloudWatch provides, please refer to the [CloudWatch documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). For details about the metrics CloudWatch provides, please refer to the [CloudWatch documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
The `ec2_instance_attribute` query take `filters` in JSON format. ## Example templated Queries
You can specify [pre-defined filters of ec2:DescribeInstances](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html).
Example dimension queries which will return list of resources for individual AWS Services:
Service | Query
------- | -----
EBS | `dimension_values(us-east-1,AWS/ELB,RequestCount,LoadBalancerName)`
ElastiCache | `dimension_values(us-east-1,AWS/ElastiCache,CPUUtilization,CacheClusterId)`
RedShift | `dimension_values(us-east-1,AWS/Redshift,CPUUtilization,ClusterIdentifier)`
RDS | `dimension_values(us-east-1,AWS/RDS,CPUUtilization,DBInstanceIdentifier)`
S3 | `dimension_values(us-east-1,AWS/S3,BucketSizeBytes,BucketName)`
## ec2_instance_attribute JSON filters
The `ec2_instance_attribute` query take `filters` in JSON format.
You can specify [pre-defined filters of ec2:DescribeInstances](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html).
Specify like `{ filter_name1: [ filter_value1 ], filter_name2: [ filter_value2 ] }` Specify like `{ filter_name1: [ filter_value1 ], filter_name2: [ filter_value2 ] }`
Example `ec2_instance_attribute()` query Example `ec2_instance_attribute()` query
......
...@@ -42,6 +42,6 @@ This makes it possible to have both built and src content in the same plugin fol ...@@ -42,6 +42,6 @@ This makes it possible to have both built and src content in the same plugin fol
## Boilerplate ## Boilerplate
We currently have three different examples that you can fork/download to get started developing your grafana plugin. We currently have three different examples that you can fork/download to get started developing your grafana plugin.
- [simple-json-datasource](https://github.com/grafana/simple-json-datasource) (small datasource plugin for quering json data from backends) - [simple-json-datasource](https://github.com/grafana/simple-json-datasource) (small datasource plugin for querying json data from backends)
- [piechart-panel](https://github.com/grafana/piechart-panel) - [piechart-panel](https://github.com/grafana/piechart-panel)
- [example-app](https://github.com/grafana/example-app) - [example-app](https://github.com/grafana/example-app)
...@@ -11,7 +11,7 @@ page_keywords: grafana, plugins, documentation ...@@ -11,7 +11,7 @@ page_keywords: grafana, plugins, documentation
The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. Before any modification take place after modifying plugins, grafana-server needs to be restarted. The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. Before any modification take place after modifying plugins, grafana-server needs to be restarted.
### Grafana plugin directory ### Grafana plugin directory
On Linux systems the grafana-cli will assume that the grafana plugin directory is "/var/lib/grafana/plugins". It's possible to override the directory which grafana-cli will operate on by specifing the --path flag. On Windows systems this parameter have to be specified for every call. On Linux systems the grafana-cli will assume that the grafana plugin directory is "/var/lib/grafana/plugins". It's possible to override the directory which grafana-cli will operate on by specifying the --path flag. On Windows systems this parameter have to be specified for every call.
### Grafana-cli commands ### Grafana-cli commands
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
margin: 5px; margin: 5px;
padding: 7px; padding: 7px;
background-color: $tight-form-bg; background-color: $tight-form-bg;
border: 1px solid $tight-form-border;
.fa { .fa {
float: right; float: right;
padding-top: 3px; padding-top: 3px;
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
.playlist-column-header { .playlist-column-header {
border-bottom: thin solid $gray-1; border-bottom: thin solid $gray-1;
padding-bottom: 10px; padding-bottom: 3px;
margin-bottom: 15px; margin-bottom: 15px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment