Sign inSign up

chaconpiza/grafana

By chaconpiza

•Updated about 5 years ago

Image
0

381

chaconpiza/grafana repository overview

⁠monasca/grafana Dockerfile

This image contains Grafana built with Keystone support and the Monasca data source. For more information on the Monasca project, see the wiki⁠.

Sources: twc-openstack/grafana⁠ · monasca-docker⁠ · Dockerfile⁠

⁠Tags

The images in this repository follow a few tagging conventions:

  • 7.4.3-1.4.0-8.8.12: a.k.a. [grafana version]-[monasca-grafana-datasource]-[image version]. In this case the image revision 0.0.3 has been built from a snapshot of Grafana 7.4.2
  • chaconpiza/grafana:2.1.3, chaconpiza/grafana:2.1.2, etc. : old naming convention, images with these tags are based on alpine and Grafana version 4.5.2 is installed there.

⁠Usage

Grafana does not require any configuration to run normally:

docker run -p 3000:3000 -it monasca/grafana:latest

To make use of the Monasca datasource in Monasca's docker-compose⁠ environment, log in using a valid keystone user and password (by default, mini-mon and password). Create a new data source with the following properties:

Note that in the Kubernetes environment⁠, the URL should instead be http://monasca-api:8070/.

The dashboard for monasca-ui, which is opened by clicking on "Graph Metric" of the 'Alarm' tab, is available. You can use this dashboard outside of monasca-ui with the following link. http://your-grafana-url:3000/dashboard/script/drilldown.js Specify the metric name with the key "metric" and dimensions as additional parameters if necessary as below. http://your-grafana-url:3000/dashboard/script/drilldown.js?metric=sample&dim1=val1

⁠Configuration

VariableDefaultDescription
GRAFANA_ADMIN_USERadminGrafana admin user name
GRAFANA_ADMIN_PASSWORDadminGrafana admin user password

Grafana can be configured using environment variables⁠, though a configuration file can also be mounted into the image at /etc/grafana/grafana.ini. Plugins should be placed in /var/lib/grafana/plugins.

Tag summary

Content type

Image

Digest

Size

75.3 MB

Last updated

about 5 years ago

docker pull chaconpiza/grafana:7.4.3-1.4.0-8.8.12