Logo
Explore Help
Sign In
gaspersic/solana
1
0
Fork 0
You've already forked solana
Code Issues Pull Requests Projects Releases Wiki Activity
solana/system-test/testnet-performance/testnet-automation-json-parser.py

11 lines
283 B
Python
Raw Normal View History

Change format of data for TPS/Finality metrics in testnet automation (#1446) * Change format of data for TPS/Finality metrics in testnet automation * Revert number of nodes for testnet automation * Split python command to its own script * Fix python command line arguments
2018-10-09 10:35:01 -07:00
#!/usr/bin/env python
import sys, json
data=json.load(sys.stdin)
Push perf test results to slack app (#6371) * Add script to publish testnet results to slack * Obscure webhook URL * fixup * Replace read with cat redirection * Turn back on net restart * Pick nits * Make symlink before trying to delete its contents * Display test config in slack and pick Trents nit not to maybe rm -rf /* * Clean up results print * Minor nits * Turn the test settings back up to 11 * typo * Shellcheck * Just a few more fields * fix payload formatting * Del clear-config.sh * Mount secondary * Add commit SHA link and Grafana time range URL * Add fancy buttons instead of text URLs * Tighten up test config display * Fixup display nits * chellsheck * Rebase and fix typo
2019-10-21 20:00:17 -04:00
if 'results' in data:
for result in data['results']:
print result['series'][0]['columns'][1].encode() + ': ' + str(result['series'][0]['values'][0][1])
else:
print "No results returned from CURL request"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 380ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API