Giter Site home page Giter Site logo

gatling-docker's Introduction

Gatling InfluxDB-Grafana Stack

Simple stack for using Gatling with InfluxDB and Grafana to get a real time view of results from load testing.

Running Gatling

I think it is best to run Gatling outside of Docker for local testing, logfiles and the result pages are easier to deal with. Performance could also be a factor depending on what OS/environment you are running Docker on. If you want to run Gatling inside a Docker container, there are some available on the registry.

Docker Images

The 2 images for this setup are Grafana, front end, with InfluxDB for the backend.

Setup

Use docker-compose to build the images locally, edit the configuration files to your specific needs.

docker-compose build

Running the Stack

Run

docker-compose up

You should see 2 container ID's and everything should be running. Next visit localhost:3000

This should now show you the Grafana Gatling dashboard preloaded into the Grafana image. From this point on, as long as the InfluxDB image is running, you can save dashboards to it. Once it goes down, all data will be lost. Once you are done with the stack, export your dashboard.

InfluxDB

All the options for InfluxDB are the influxdb directory, but the API interface is located at localhost:8086

Feeding Data in from Gatling

I have included a sample gatling.conf which is mostly the vanilla conf except for writers section under the data block, as well as the graphite options. InfluxDB accepts data using the Graphite protocol, so by using these options, data will still go into the database as if it were Whisper database used by Graphite.

gatling-docker's People

Contributors

dblooman avatar gempesaw avatar

Watchers

James Cloos 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.