Skip to content

Instantly share code, notes, and snippets.

@kylebrandt
Last active February 5, 2020 10:47
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 kylebrandt/7ec4409aa008d791494368f1fd8c8c7a to your computer and use it in GitHub Desktop.
Save kylebrandt/7ec4409aa008d791494368f1fd8c8c7a to your computer and use it in GitHub Desktop.
$ ./run.sh -d 5m -v 150 -c annotations_by_tag_test -u http://localhost:3000
/\ |‾‾| /‾‾/ /‾/
/\ / \ | |_/ / / /
/ \/ \ | | / ‾‾\
/ \ | |‾\ \ | (_) |
/ __________ \ |__| \__\ \___/ .io
execution: local
output: -
script: src/annotations_by_tag_test.js
duration: 5m0s, iterations: -
vus: 150, max: 150
done [==========================================================] 5m0s / 5m0s
█ annotation by tag test
█ user authenticates thru ui with username and password
✓ response status is 200
✓ response has cookie 'grafana_session' with 32 characters
█ batch tsdb requests with annotations by tag
✓ response status is 200
checks.....................: 100.00% ✓ 87940 ✗ 0
data_received..............: 1.2 GB 4.0 MB/s
data_sent..................: 32 MB 105 kB/s
group_duration.............: avg=5s min=135.55ms med=5.77s max=9.65s p(90)=7.92s p(95)=8.21s
http_req_blocked...........: avg=977.68µs min=1.68µs med=3.51µs max=1.03s p(90)=6.06µs p(95)=10.85µs
http_req_connecting........: avg=822.25µs min=0s med=0s max=1.03s p(90)=0s p(95)=0s
http_req_duration..........: avg=387.37ms min=2.43ms med=96.83ms max=9.65s p(90)=446.06ms p(95)=1.19s
http_req_receiving.........: avg=175.58µs min=27.43µs med=71.2µs max=121.18ms p(90)=117.75µs p(95)=178.09µs
http_req_sending...........: avg=33.82µs min=9.33µs med=18.3µs max=45.71ms p(90)=29.08µs p(95)=36.31µs
http_req_tls_handshaking...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...........: avg=387.16ms min=2.38ms med=96.64ms max=9.65s p(90)=445.61ms p(95)=1.19s
http_reqs..................: 92374 307.913245/s
iteration_duration.........: avg=9.96s min=2.52µs med=10.7s max=14.66s p(90)=12.92s p(95)=13.19s
iterations.................: 4392 14.639996/s
vus........................: 150 min=150 max=150
vus_max....................: 150 min=150 max=150
$ ./run.sh -d 5m -v 150 -c annotations_by_tag_test -u http://localhost:3000
/\ |‾‾| /‾‾/ /‾/
/\ / \ | |_/ / / /
/ \/ \ | | / ‾‾\
/ \ | |‾\ \ | (_) |
/ __________ \ |__| \__\ \___/ .io
execution: local
output: -
script: src/annotations_by_tag_test.js
duration: 5m0s, iterations: -
vus: 150, max: 150
done [==========================================================] 5m0s / 5m0s
█ annotation by tag test
█ user authenticates thru ui with username and password
✓ response status is 200
✓ response has cookie 'grafana_session' with 32 characters
█ batch tsdb requests with annotations by tag
✓ response status is 200
checks.....................: 100.00% ✓ 6860 ✗ 0
data_received..............: 84 MB 280 kB/s
data_sent..................: 2.3 MB 7.5 kB/s
group_duration.............: avg=1m7s min=272.22ms med=1m37s max=1m42s p(90)=1m40s p(95)=1m40s
http_req_blocked...........: avg=393.14µs min=1.74µs med=3.75µs max=105.4ms p(90)=83.95µs p(95)=531.12µs
http_req_connecting........: avg=360.87µs min=0s med=0s max=100.82ms p(90)=0s p(95)=423.46µs
http_req_duration..........: avg=3.57s min=2.63ms med=88.71ms max=1m42s p(90)=506.24ms p(95)=1.59s
http_req_receiving.........: avg=126.6µs min=24.78µs med=72.26µs max=23.02ms p(90)=118.16µs p(95)=154.03µs
http_req_sending...........: avg=70.23µs min=9.39µs med=19.51µs max=58.16ms p(90)=48µs p(95)=65.63µs
http_req_tls_handshaking...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...........: avg=3.57s min=2.55ms med=88.57ms max=1m42s p(90)=505.96ms p(95)=1.59s
http_reqs..................: 9480 31.599993/s
iteration_duration.........: avg=1m10s min=2.68µs med=1m42s max=1m47s p(90)=1m45s p(95)=1m45s
iterations.................: 450 1.5/s
vus........................: 150 min=150 max=150
vus_max....................: 150 min=150 max=150
$ ./run.sh -d 5m -v 150 -c annotations_by_tag_test -u http://localhost:3000
/\ |‾‾| /‾‾/ /‾/
/\ / \ | |_/ / / /
/ \/ \ | | / ‾‾\
/ \ | |‾\ \ | (_) |
/ __________ \ |__| \__\ \___/ .io
execution: local
output: -
script: src/annotations_by_tag_test.js
duration: 5m0s, iterations: -
vus: 150, max: 150
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Get http://localhost:3000/api/annotations?from=1580825186534&to=1580846786535: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Get http://localhost:3000/api/annotations?from=1580825186534&to=1580846786535: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Get http://localhost:3000/api/annotations?from=1580825186534&to=1580846786535: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Get http://localhost:3000/api/annotations?from=1580825186534&to=1580846786535: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
WARN[0142] Request Failed error="Post http://localhost:3000/api/tsdb/query: context deadline exceeded"
done [==========================================================] 5m0s / 5m0s
█ annotation by tag test
█ user authenticates thru ui with username and password
✓ response status is 200
✓ response has cookie 'grafana_session' with 32 characters
█ batch tsdb requests with annotations by tag
✗ response status is 200
↳ 99% — ✓ 16993 / ✗ 27
checks.....................: 99.84% ✓ 17293 ✗ 27
data_received..............: 218 MB 727 kB/s
data_sent..................: 5.8 MB 19 kB/s
group_duration.............: avg=39.84s min=117.92ms med=45.41s max=2m0s p(90)=50.73s p(95)=52.89s
http_req_blocked...........: avg=135.79µs min=1.8µs med=3.88µs max=87.53ms p(90)=10.04µs p(95)=136.35µs
http_req_connecting........: avg=116.62µs min=0s med=0s max=87.47ms p(90)=0s p(95)=0s
http_req_duration..........: avg=2.19s min=1.92ms med=41.27ms max=2m0s p(90)=217.17ms p(95)=1.76s
http_req_receiving.........: avg=110.12µs min=0s med=82.3µs max=13.62ms p(90)=126.55µs p(95)=154.5µs
http_req_sending...........: avg=35.72µs min=9.34µs med=20.41µs max=26.76ms p(90)=33.49µs p(95)=49.24µs
http_req_tls_handshaking...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...........: avg=2.19s min=1.82ms med=41.15ms max=2m0s p(90)=217.07ms p(95)=1.76s
http_reqs..................: 19465 64.883245/s
iteration_duration.........: avg=44.03s min=2.93µs med=45.93s max=2m5s p(90)=56.07s p(95)=58.03s
iterations.................: 927 3.089996/s
vus........................: 150 min=150 max=150
vus_max....................: 150 min=150 max=150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment