docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2 and a Kamon Dashboard

  • 所有者: kamon-io/docker-grafana-graphite
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

StatsD + Graphite + Grafana 4 + Kamon Dashboards

This image contains a sensible default configuration of StatsD, Graphite and Grafana, and comes bundled with a example
dashboard that gives you the basic metrics currently collected by Kamon for both Actors and Traces. There are two ways
for using this image:

Using the Docker Index

This image is published under Kamon's repository on the Docker Hub and all you
need as a prerequisite is having docker, docker-compose, and make installed on your machine. The container exposes the following ports:

  • 80: the Grafana web interface.
  • 81: the Graphite web port
  • 2003: the Graphite data port
  • 8125: the StatsD port.
  • 8126: the StatsD administrative port.

To start a container with this image you just need to run the following command:

$ make up

To stop the container

$ make down

To run container's shell

$ make shell

To view the container log

$ make tail

If you already have services running on your host that are using any
of these ports, you may wish to map the container ports to whatever
you want by changing left side number in the --publish parameters,
or the 'ports' parameters in 'docker-compose.yml'. You can omit ports
you do not plan to use. Find more details about mapping ports in the
Docker documentation on Binding container ports to the
host

and Legacy container
links
.

Building the image yourself

The Dockerfile and supporting configuration files are available in our Github repository.
This comes specially handy if you want to change any of the StatsD, Graphite or Grafana settings, or simply if you want
to know how the image was built.

Using the Dashboards

Once your container is running all you need to do is:

  • open your browser pointing to http://localhost:80 (or another port if you changed it)
    • Docker with VirtualBox on macOS: use docker-machine ip instead of localhost
  • login with the default username (admin) and password (admin)
  • open existing dashboard (or create a new one) and select 'Local Graphite' datasource
  • play with the dashboard at your wish...

Persisted Data

When running make up, directories are created on your host and mounted into the Docker container, allowing graphite and grafana to persist data and settings between runs of the container.

Now go explore!

We hope that you have a lot of fun with this image and that it serves it's
purpose of making your life easier. This should give you an idea of how the dashboard looks like when receiving data
from one of our toy applications:

Kamon Dashboard
System Metrics Dashboard

概覽

名稱與所有者kamon-io/docker-grafana-graphite
主編程語言Dockerfile
編程語言JavaScript (語言數: 5)
平台
許可證Apache License 2.0
發布數2
最新版本名稱v2.0 (發布於 )
第一版名稱v1.0 (發布於 )
創建於2014-04-22 20:38:49
推送於2022-02-27 18:56:42
最后一次提交2019-08-29 02:12:11
星數1.1k
關注者數59
派生數501
提交數88
已啟用問題?
問題數88
打開的問題數45
拉請求數34
打開的拉請求數2
關閉的拉請求數9
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部