Coder Social home page Coder Social logo

andersongomesdev / gatlinginfluxgrafanagraphite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pbushan/gatlinginfluxgrafanagraphite

0.0 0.0 0.0 513 KB

A solution for collecting and displaying Gatling metrics using InfluxDB, Grafana and Graphite

Shell 81.87% Dockerfile 18.13%

gatlinginfluxgrafanagraphite's Introduction

Docker solution for Gatling using Influx and Grafana [Graphite enabled]

If you're a serious dev or performance engineer that leverages Gatling to run performance tests, this kit is an essential.

Its a light-weight docker-compose solution to spin up InfluxDB with Graphite enabled and Grafana for metrics collection and analysis during your Gatling test runs.

Prerequisites

The solution needs docker and docker-compose

Note: If you don't have docker or docker-compose, use the bash script below

download the bash script from my repo

sudo curl https://raw.githubusercontent.com/pbushan/GatlingInfluxGrafanaGraphite/master/grafana-influx.sh

run the bash script

sh grafana-influx.sh

reboot your server

sudo reboot

How to deploy if docker and docker-compose are already installed

Just clone this repo using

git clone https://github.com/pbushan/GatlingInfluxGrafanaGraphite.git

Navigate in the folder

cd GatlingInfluxGrafanaGraphite

Run docker-compose using

sudo docker-compose up

Setting up Gatling to export metrics

If your gatling script doesnt have a gatling.conf file, create one in the test/resources folder Look at a sample config file implementation at my demo repo https://github.com/pbushan/gatlingdemo/blob/master/src/test/resources/gatling.conf

Under the graphite section change the host name. The next time you run your gatling test, your influxDb should be picking up Gatling metrics.

Setting up your Grafana dashboard

Whats the point of all this effort if you can't view your metrics? Thats why I've created a Grafana dashboard, so that you can focus on the important stuff.

  1. Navigate to <your-grafana-hostname>:3000
  2. The data source should be configured for you.
  3. Click on Grafana symbol to your left top corner > Dashboards > Import
  4. Upload the gatling-grafana.json file from this repo
  5. Don't forget to save your dashboard

gatlinginfluxgrafanagraphite's People

Contributors

pbushan avatar bushnevyuri avatar ybushnev 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.