CloudStats Datasource is Grafana annotations datasource to access cloud providers status inside dashboard.
- Amazon Web Services
- Filtering by services and regions
- Google Cloud Platform
- Range annotations
- Digital Ocean
Coming soon
Download latest release or clone the repo to your Grafana server to plugins directory.
Plugins directory on linux usually is /var/lib/grafana/plugins
. Clone/download/soft link repository into it.
For example cloning:
$ cd /var/lib/grafana/plugins
$ git clone https://github.com/cloudstats-app/grafana-cloudstats-datasource.git
$ systemctl restart grafana-server
In custom image download the plugin to plugins directory or mount it into container.
Dockerfile example:
...
ADD --chown=grafana:grafana https://github.com/cloudstats-app/grafana-cloudstats-datasource/archive/master.zip /tmp/master.zip
RUN unzip /tmp/master.zip -d /tmp && \
mkdir -p ${GF_PATHS_PLUGINS}/grafana-cloudstats-datasource && \
cp -a /tmp/grafana-cloudstats-datasource-master/dist/ ${GF_PATHS_PLUGINS}/grafana-cloudstats-datasource/ && \
rm -r /tmp/grafana-cloudstats-datasource-master /tmp/master.zip
...
Mount example:
$ git clone https://github.com/cloudstats-app/grafana-cloudstats-datasource.git /opt/grafana-cloudstats-datasource
$ docker run -d --name=grafana -p 3000:3000 -v /opt/grafana-cloudstats-datasource:/var/lib/grafana/plugins/grafana-cloudstats-datasource grafana/grafana
Go to cloudstats.app and register to receive API key
In Grafana dashboard add new datasource and select CloudStats.
Insert API key received by registration process and select desired cloud provider.
- If CloudStats used with multiple providers it's advised to add inside datasource name provider identifications
Once new datasource configured open desired dashboard setting, select Annotations
and add new give the name to annotation.
- AWS stats allow filtering the incidents with tags. Tags can be service names like
ec2
,rds
and regions likeus-east-1
,eu-central-1
.
Once added cloud provider incidents will be shown on the graphs: