Open
Conversation
| @@ -0,0 +1,3 @@ | |||
| USERNAME="vagrant" | |||
There was a problem hiding this comment.
mention in README.md to change these values
jasmeetkohli
requested changes
Jul 26, 2017
|
|
||
| #POST Disk write to Influxdb | ||
| curl -i -XPOST 'http://localhost:8086/write?db=test' --data-binary 'disk_write_short,host=server01,region=us-west value='$DISKWRITESEC' '$NOW'' | ||
|
|
There was a problem hiding this comment.
All of them write to test db, but we define jmeter db in DockerFIle for Influx.
Value for $NOW ?
NOW = $(date +"%s")
| DISKREADSEC=$(sshpass -p "$PASSWORD" ssh -tt $USERNAME@$IPADDRESS iostat -dx | tail -n 2 | awk '{ print $4; }') | ||
|
|
||
| DISKWRITESEC=$(sshpass -p "$PASSWORD" ssh -tt $USERNAME@$IPADDRESS iostat -dx | tail -n 2 | awk '{ print $5; }') | ||
|
|
|
|
||
| #POST Disk write to Influxdb | ||
| curl -i -XPOST 'http://localhost:8086/write?db=test' --data-binary 'disk_write_short,host=server01,region=us-west value='$DISKWRITESEC' '$NOW'' | ||
|
|
There was a problem hiding this comment.
Code to verify whether data is actually inserted in Influx or not ?
$NOW ?
| #POST Disk write to Influxdb | ||
| curl -i -XPOST 'http://localhost:8086/write?db=test' --data-binary 'disk_write_short,host=server01,region=us-west value='$DISKWRITESEC' '$NOW'' | ||
|
|
||
|
|
| @@ -0,0 +1,3 @@ | |||
| USERNAME="vagrant" | |||
| PASSWORD="vagrant" | |||
| HOST="192.168.88.193" | |||
| @@ -0,0 +1,44 @@ | |||
| #!/bin/bash | |||
thetonymaster
requested changes
Aug 29, 2017
| @@ -0,0 +1,4 @@ | |||
| arr=list(range(1,50000000)) | |||
|
|
|||
| for elem in arr : | |||
There was a problem hiding this comment.
Why do you have a python script and bash scripts? Just a question.
| ======= | ||
| docker-compose stop influxdb monitor spike | ||
| docker-compose rm --force influxdb monitor spike | ||
| >>>>>>> Demo |
There was a problem hiding this comment.
Just remove all the .orig files, they are leftovers of merges :)
thetonymaster
requested changes
Aug 29, 2017
| @@ -0,0 +1,4 @@ | |||
| USERNAME="root" | |||
| PASSWORD="root" | |||
There was a problem hiding this comment.
Why do you use this file instead of configuring this variables in compose.
| @@ -1,11 +1,9 @@ | |||
| all: test | |||
| all: test | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created Test for SpikeScript