Skip to content

Instantly share code, notes, and snippets.

@neerajnagi
Last active September 5, 2016 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neerajnagi/3d8317667c15f555a82c2715fb682301 to your computer and use it in GitHub Desktop.
Save neerajnagi/3d8317667c15f555a82c2715fb682301 to your computer and use it in GitHub Desktop.
gauge testing

prerequisite

company
machineName ( svp_10 ) 
machineID (machine-a39x9d...... )
dataviewer login(  sumin1  / sumin1 ) 

Check that baseline is set for gauge if its applicable

Check vmart for the baseline date, and make sure there is data available for baselining around that datetime

under collector there is Autobaseline param that could be used for this
ac1->Autobaseline
vac1->Autobaseline

https://cloud.githubusercontent.com/assets/545039/17848319/603812b8-6842-11e6-9a9d-73e2ce7f2d87.png


for details about gauges use

http://mvp.production.prophecysensorlytics.com:3000/gauge/machine-0bd15dd0-3d2a-11e6-bb54-13e276db7a75

this will give you a json doc with details of all gauges of last calculated batch of this machine. machine-0bd15dd0-3d2a-11e6-bb54-13e276db7a75 is machine id of the machine you are interested in.And from this url get json of gauges and look for log: key.

checkout this https://cloud.githubusercontent.com/assets/545039/17848399/cde47c5c-6842-11e6-808c-4a46b3b58fe5.png

you can install https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en and that will format the webpage json in a nice tree view.

accessing input json for a particular batch

host : mvp.production.prophecysensorlytics.com ( or beta.prod........ ) username : debugger password : %2016prophecysensorlytics2016%

for phase 2 gauges algos ( first you have to select date)

example : /log/2016-09-05/Rapac/mac12/1251.json for batch calculated at 1250 utc

for ankita's algo and saqd algo same is available in a different format , will be move to new structure soon.

/log/novatec/svp_10/2016-09-05/highVacLowvac /log/novatec/svp_10/2016-09-05/CalculationOfAqdSaqdAndWaqd

@neerajnagi
Copy link
Author

Autobaseline in vmart
image

@neerajnagi
Copy link
Author

Gauge doc with details about gauges
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment