Giter Club home page Giter Club logo

stagemonitor-docker's Introduction

This project is deprecated

Use docker-compose as described in https://github.com/stagemonitor/stagemonitor/wiki/Step-2%3A-Request-Analysis-Dashboard#set-up-with-docker-compose

Graphite + Carbon + Grafana + Elasticsearch + Kibana

An all-in-one image running graphite and carbon-cache and grafana.

This image contains a sensible default configuration of graphite and carbon-cache.

Getting started with DockerHub

  • Pull the container docker pull stagemonitor/stagemonitor-docker
  • Download and execute the start script: curl -s https://raw.githubusercontent.com/stagemonitor/stagemonitor-docker/master/start | sh
  • Open the Dashboards.
    • http://[docker-ip]:8888/kibana/*
    • http://[docker-ip]:8888/grafana/*

Start with custom build

  • Clone this repo: git clone https://github.com/stagemonitor/stagemonitor-docker
  • Optional: edit the settings
  • Build the docker container: execute ./build
  • Optional: modify start to map to the ports and host directories you need
  • Start the container: execute ./start
  • Open the Dashboards.
    • http://[docker-ip]:8888/kibana/*
    • http://[docker-ip]:8888/grafana/*

* Replace [docker-ip] with localhost if you are using native docker or 192.168.59.103, if you are using boot2docker. If the ip is not working, check boot2docker ip for the actual ip. The trailing slash is important.

Ports

Starting this container with the start script will, by default, bind the the following ports:

Host/VM Container Description
8888 80 the grafana (/grafana/) and kibnana (/kibana/) web interface
8181 2003 the graphite web interface (/)
2003 2003 the carbon-cache line receiver (the standard graphite protocol)
2004 the carbon-cache pickle receiver
7002 the carbon-cache query port (used by the web interface)

You can log into the administrative interface of graphite-web (a Django application) with the username admin and password admin. These passwords can be changed through the web interface.

NB: Please be aware that by default docker will make the exposed ports accessible from anywhere if the host firewall is unconfigured.

Mounted Volumes

The start script will, by default, mount the following directories:

Host/VM Container Description
/var/docker/stagemonitor/elastic /var/lib/elasticsearch elasticsearch index files
/var/docker/stagemonitor/graphite /opt/graphite/storage/whisper whisper (timeseries) database files
/var/docker/stagemonitor/supervisor /var/log/supervisor logs for elasticsearch, graphite and nginx

Technical details

By default, this instance of carbon-cache uses the following retention periods resulting in whisper files of approximately 290Kb.

1m:7d,10m:31d,1h:120d,6h:5y

Notice

Modified from https://github.com/grafana/grafana-docker-dev-env

stagemonitor-docker's People

Contributors

felixbarny avatar samsaffron avatar torkelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.