• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated over 5 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, InfluxDB, Grafana and a Kamon Dashboard

docker-grafana-influxdb

This image contains a sensible default configuration of InfluxDB and Grafana. It explicitly doesn't bundle an example dashboard.

Using the Dashboard

Once your container is running all you need to do is open your browser pointing to the host/port you just published and play with the dashboard at your wish. We hope that you have a lot of fun with this image and that it serves it's purpose of making your life easier.

Building the image yourself

The Dockerfile and supporting configuration files are available in this Github repository. This comes specially handy if you want to change any of the InfluxDB or Grafana settings, or simply if you want to know how the image was built. The repo also has build, start and stop scripts to make your workflow more pleasant.

Configuring the settings

The container exposes the following ports by default:

  • 80: Grafana web interface.
  • 8083: InfluxDB Admin web interface.
  • 8084: InfluxDB HTTPS API (not usable by default).
  • 8086: InfluxDB HTTP API.

To start a container with your custom config: see start script.

To change ports, consider the following:

  • 80: edit Dockerfile, ngingx/nginx.conf and start script.
  • 8083: edit: Dockerfile, influxDB/config.toml and start script.
  • 8084: edit: to be announced.
  • 8086: edit: Dockerfile, influxDB/config.toml, grafana/config.ini, set_influxdb.sh and start script.

Running container under boot2docker on Mac OS X

Currently, there is an issue with boot2docker dicussed here. To bypass this, change the last line in start script to the following to start the container:

docker run -d -p 80:80 -p 8083:8083 -p 8084:8084 -p 8086:8086 --name grafana-influxdb_con grafana_influxdb

InfluxDB is configured by default with two databases. grafana DB for storing your Dashboard and data DB for storing your measurements. You can edit all default passwords in Dockerfile. If you wanna edit DB names, users and passwords, have a look at the following files: grafana/config.ini, set_grafana.sh, set_influxdb.sh and Dockerfile

HTTPS API wasn't tested yet, that's why it isn't configured. Some boilerplate code can be found in Dockerfile and set_influxdb.sh. Needs testing and possibly more.

More Repositories

1

Kamon

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

docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2 and a Kamon Dashboard
Dockerfile
1,142
star
3

kamon-akka-http

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

kanela

The Kamon Instrumentation Agent
Java
68
star
5

kamon-http4s

Kamon Integration for http4s
Scala
53
star
6

kamon-akka

Kamon Instrumentation for Akka
Scala
44
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

sbt-kanela-runner

Scala
10
star
18

kamon-statsd

Kamon StatsD Integration
Scala
9
star
19

kamon-futures

Scala
9
star
20

kamon.io

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

kamon-datadog

Kamon Datadog Integration
Scala
9
star
22

kamon-jdbc

Kamon JDBC Integration
Scala
8
star
23

kamon-zipkin

Scala
8
star
24

monitoring-reactive-apps-with-kamon

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

kamon-influxdb

Kamon InfluxDB Integration
Scala
5
star
26

kamon-cassandra

Scala
5
star
27

kamon-scala

Kamon Scala Integration
Scala
5
star
28

kamon-log-reporter

Kamon Log Reporter
Scala
5
star
29

kamon-graphite

Scala
5
star
30

kamon-akka-remote

Kamon Instrumentation for Akka Remote
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-spring

Kamon support for Spring
Scala
2
star
39

kamon-elasticsearch

Kamon Elasticsearch Integration
Scala
2
star
40

kamon-kafka

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

kanela-extensions

kanela agent extensions
Scala
2
star
42

kamon-jmx

Kamon JMX Integration
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