• Stars
    star
    1,143
  • Rank 39,192 (Top 0.8 %)
  • Language
    Dockerfile
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

Kamon

Distributed Tracing, Metrics and Context Propagation for applications running on the JVM
Scala
1,395
star
2

docker-grafana-influxdb

Docker image with StatsD, InfluxDB, Grafana and a Kamon Dashboard
Shell
172
star
3

kamon-akka-http

Kamon integration for metrics, context and distributed tracing with Akka HTTP
Scala
72
star
4

kanela

The Kamon Instrumentation Agent
Java
63
star
5

kamon-http4s

Kamon Integration for http4s
Scala
53
star
6

kamon-akka

Kamon Instrumentation for Akka
Scala
45
star
7

sbt-aspectj-runner

sbt plugin for running aspectj weaver
Scala
34
star
8

kamon-prometheus

kamon prometheus integration
Scala
30
star
9

kamon-play

Kamon Play Framework Integration
Scala
28
star
10

sigar-loader

Scala
23
star
11

kamon-system-metrics

Kamon System Metrics
Scala
22
star
12

domino

Reports key metrics for docker containers
Scala
17
star
13

kamon-logback

Scala
12
star
14

kamon-jaeger

Scala
10
star
15

kamon-netty

kamon netty integration
Scala
10
star
16

kamon-executors

Scala
10
star
17

kamon-statsd

Kamon StatsD Integration
Scala
9
star
18

kamon-futures

Scala
9
star
19

kamon.io

Sources for the https://kamon.io/ website.
SCSS
9
star
20

kamon-datadog

Kamon Datadog Integration
Scala
9
star
21

kamon-jdbc

Kamon JDBC Integration
Scala
8
star
22

kamon-zipkin

Scala
8
star
23

sbt-kanela-runner

Scala
7
star
24

monitoring-reactive-apps-with-kamon

Slides for the "Monitoring Reactive Apps with Kamon" talk
JavaScript
6
star
25

kamon-akka-remote

Kamon Instrumentation for Akka Remote
Scala
6
star
26

kamon-influxdb

Kamon InfluxDB Integration
Scala
5
star
27

kamon-cassandra

Scala
5
star
28

kamon-scala

Kamon Scala Integration
Scala
5
star
29

kamon-log-reporter

Kamon Log Reporter
Scala
5
star
30

kamon-graphite

Scala
5
star
31

kamon-newrelic

Kamon New Relic Integration
Scala
4
star
32

kamon-annotation

Kamon Annotation Module
Java
4
star
33

kamon-opentracing

3
star
34

kamon-bundle

Scala
3
star
35

monitoring-microservices-workshop

Scala
3
star
36

kamon-sbt-umbrella

Scala
2
star
37

kamon-opentsdb

Scala
2
star
38

kamon-jmx

Kamon JMX Integration
Scala
2
star
39

kamon-spring

Kamon support for Spring
Scala
2
star
40

kamon-elasticsearch

Kamon Elasticsearch Integration
Scala
2
star
41

kamon-kafka

Kamon Integration for Kafka(Producers|Consumers|Streams)
Scala
2
star
42

kanela-extensions

kanela agent extensions
Scala
2
star
43

kamon-lagom

1
star
44

kamon-apm-reporter

Scala
1
star
45

kamon-showcase

Scala
1
star
46

kamon-mongo

Scala
1
star
47

kamon-okhttp

Scala
1
star
48

kamon-apm-java-integrations

Tools for sending metrics and traces from Micrometer and Spring Cloud Sleuth to Kamon APM
Java
1
star