Coder Social home page Coder Social logo

grafana-dashboard-generator's Introduction

Welcome to the Grafana-Dashboard-Generator wiki!

This app lets you automatically generate a Grafana dasbhoard with cumulative metrics and individual metrics for any Jmeter script. The app automatically parses the script and creates necessary JSON data objects in the file to create the dashboard JSON file. Each dashboard panel with have a auto generated query to influxdb.

The following metrics are included for each individual HTTPSampler:

  1. percentile90 (response time)
  2. failure (transactions failed per interval)
  3. success (transactions passed per interval)

The following metrics are included for the cumulative metric group:

  1. percentile90 (response time per interval)
  2. meanActiveThreads
  3. TotalTPS (Sum of Transactions Per Second of all transactions in the test plan per interval)
  4. failure (Sum of failures in the test per interval);

How to use the app:

  1. Download the GenerateDashboard.jar file
  2. Copy it into any directory.

Run the command as shown in the example:
java -jar GenerateDashboard.jar
1.Enter a name for the Grafana dashboard:
AuthIDService
2.Enter output file path (Example: /var/tmp/ on Linux OR like C:\tmp\output\ on Windows):
/var/tmp/
3.Enter path of script(example: /var/tmp/test.jmx in Linux OR like C:\tmp\test.jmx in Windows):
/Jmeter/ius-prf-tax-medium-risk.jmx
Selected Script = /Jmeter/ius-prf-tax-medium-risk.jmx
Parsing the Jmeter script and looking for all HTTP transactions...
The dashboard will contain the following transactions
1.signInTTO
2.createSignInConfirmation
3.verifySignInConfirmation
4.getAttribute
5.updateAttribute
6.lookupUserById
7.lookupUserByName
8.createUser
9.signInTTO
10.lookupGrant
11.lookupGrant
12.realmPicker
13.lookupGrant
14.signin
15.lookupUserById
16.lookupUserById
17.lookupUserById
18.getAssurnaceLevel
19.accountRecovery
20.signinAccountRecovery
21.updateTktAssuranceLevel
22.signinWithUserId
23.lookupOfferingUsages
24.signin
25.getAttribute
26.updateAttribute
27.signInTTO_Bad
28.signinLookupTaxId
29.lookupTAXIdentifier
Dashboard file successfully generated /var/tmp/AuthIDService.jason

Once the file is generated, launch grafana (like: localhost:/Grafana/) and click the "Import" button in the Dashboard dropdown. Select the generated JSON file and enjoy!! image

This is an auto generated Grafana dashboard using this tool: image

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.