Skip to content

Instantly share code, notes, and snippets.

@jadbaz
Last active June 12, 2020 11:10
Show Gist options
  • Save jadbaz/34e94ed6c8f6d77fdd176c889cbad06d to your computer and use it in GitHub Desktop.
Save jadbaz/34e94ed6c8f6d77fdd176c889cbad06d to your computer and use it in GitHub Desktop.
Example output from Prometheus Java example
# HELP last_request_time Last request time
# TYPE last_request_time gauge
last_request_time{ws_type="ws_type_1",ws_method="get",} 1.591954253939E9
last_request_time{ws_type="ws_type_3",ws_method="post",} 1.591954175872E9
last_request_time{ws_type="ws_type_2",ws_method="post",} 1.591954246263E9
last_request_time{ws_type="ws_type_2",ws_method="get",} 1.59195425353E9
last_request_time{ws_type="ws_type_1",ws_method="post",} 1.591954177074E9
last_request_time{ws_type="ws_type_3",ws_method="get",} 1.591954253931E9
# HELP request_duration Request duration
# TYPE request_duration histogram
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.005",} 7.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.01",} 8.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.025",} 10.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.05",} 10.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.075",} 13.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.1",} 13.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.25",} 19.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.5",} 20.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="0.75",} 21.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="1.0",} 23.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="2.5",} 25.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="5.0",} 28.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="7.5",} 33.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="10.0",} 35.0
request_duration_bucket{ws_type="ws_type_1",ws_method="get",le="+Inf",} 37.0
request_duration_count{ws_type="ws_type_1",ws_method="get",} 37.0
request_duration_sum{ws_type="ws_type_1",ws_method="get",} 95.7276038
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.005",} 2.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.01",} 3.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.025",} 4.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.05",} 4.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.075",} 4.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.1",} 5.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.25",} 5.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.5",} 6.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="0.75",} 6.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="1.0",} 6.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="2.5",} 6.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="5.0",} 7.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="7.5",} 7.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="10.0",} 8.0
request_duration_bucket{ws_type="ws_type_3",ws_method="post",le="+Inf",} 9.0
request_duration_count{ws_type="ws_type_3",ws_method="post",} 9.0
request_duration_sum{ws_type="ws_type_3",ws_method="post",} 30.032929600000003
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.005",} 0.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.01",} 0.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.025",} 1.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.05",} 3.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.075",} 4.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.1",} 4.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.25",} 4.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.5",} 5.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="0.75",} 5.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="1.0",} 5.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="2.5",} 5.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="5.0",} 6.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="7.5",} 6.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="10.0",} 6.0
request_duration_bucket{ws_type="ws_type_2",ws_method="post",le="+Inf",} 7.0
request_duration_count{ws_type="ws_type_2",ws_method="post",} 7.0
request_duration_sum{ws_type="ws_type_2",ws_method="post",} 19.5332352
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.005",} 5.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.01",} 6.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.025",} 8.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.05",} 8.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.075",} 8.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.1",} 8.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.25",} 9.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.5",} 12.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="0.75",} 13.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="1.0",} 13.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="2.5",} 18.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="5.0",} 18.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="7.5",} 21.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="10.0",} 23.0
request_duration_bucket{ws_type="ws_type_2",ws_method="get",le="+Inf",} 26.0
request_duration_count{ws_type="ws_type_2",ws_method="get",} 26.0
request_duration_sum{ws_type="ws_type_2",ws_method="get",} 95.29080950000001
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.005",} 0.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.01",} 1.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.025",} 1.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.05",} 1.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.075",} 1.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.1",} 1.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.25",} 3.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.5",} 5.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="0.75",} 5.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="1.0",} 5.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="2.5",} 8.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="5.0",} 11.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="7.5",} 11.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="10.0",} 11.0
request_duration_bucket{ws_type="ws_type_1",ws_method="post",le="+Inf",} 13.0
request_duration_count{ws_type="ws_type_1",ws_method="post",} 13.0
request_duration_sum{ws_type="ws_type_1",ws_method="post",} 40.5538577
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.005",} 4.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.01",} 6.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.025",} 8.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.05",} 15.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.075",} 17.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.1",} 18.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.25",} 22.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.5",} 25.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="0.75",} 25.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="1.0",} 25.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="2.5",} 32.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="5.0",} 35.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="7.5",} 37.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="10.0",} 38.0
request_duration_bucket{ws_type="ws_type_3",ws_method="get",le="+Inf",} 41.0
request_duration_count{ws_type="ws_type_3",ws_method="get",} 41.0
request_duration_sum{ws_type="ws_type_3",ws_method="get",} 78.2046682
type=ws_type_3,method=get,duration=12
type=ws_type_1,method=get,duration=14
type=ws_type_1,method=get,duration=17
type=ws_type_1,method=get,duration=52
type=ws_type_3,method=post,duration=6
type=ws_type_3,method=get,duration=39
type=ws_type_3,method=get,duration=258
type=ws_type_3,method=post,duration=81
type=ws_type_3,method=post,duration=4984
type=ws_type_2,method=get,duration=487
type=ws_type_3,method=get,duration=429
type=ws_type_1,method=post,duration=134
type=ws_type_1,method=post,duration=286
type=ws_type_2,method=get,duration=2
type=ws_type_2,method=get,duration=1570
type=ws_type_2,method=get,duration=6
type=ws_type_1,method=get,duration=6941
type=ws_type_1,method=post,duration=463
type=ws_type_3,method=get,duration=424
type=ws_type_1,method=get,duration=8184
type=ws_type_3,method=get,duration=10090
type=ws_type_3,method=post,duration=355
type=ws_type_1,method=post,duration=12983
type=ws_type_2,method=get,duration=9297
type=ws_type_3,method=get,duration=67
type=ws_type_1,method=get,duration=2
type=ws_type_2,method=post,duration=57
type=ws_type_3,method=get,duration=3077
type=ws_type_3,method=get,duration=41
type=ws_type_3,method=get,duration=3
type=ws_type_1,method=get,duration=56
type=ws_type_1,method=get,duration=396
type=ws_type_1,method=get,duration=3525
type=ws_type_1,method=get,duration=1
type=ws_type_1,method=get,duration=2
type=ws_type_3,method=get,duration=36
type=ws_type_1,method=get,duration=146
type=ws_type_2,method=get,duration=106
type=ws_type_2,method=post,duration=23
type=ws_type_3,method=get,duration=1
type=ws_type_1,method=get,duration=922
type=ws_type_1,method=get,duration=7238
type=ws_type_1,method=post,duration=2514
type=ws_type_2,method=get,duration=1
type=ws_type_1,method=get,duration=230
type=ws_type_3,method=get,duration=56
type=ws_type_1,method=get,duration=819
type=ws_type_2,method=get,duration=10
type=ws_type_1,method=post,duration=2361
type=ws_type_3,method=get,duration=48
type=ws_type_2,method=get,duration=368
type=ws_type_2,method=get,duration=9966
type=ws_type_3,method=get,duration=5654
type=ws_type_2,method=get,duration=2
type=ws_type_2,method=post,duration=37
type=ws_type_2,method=get,duration=13471
type=ws_type_3,method=get,duration=2995
type=ws_type_2,method=post,duration=3606
type=ws_type_3,method=get,duration=1426
type=ws_type_2,method=get,duration=424
type=ws_type_1,method=get,duration=2
type=ws_type_3,method=get,duration=1176
type=ws_type_1,method=get,duration=5074
type=ws_type_2,method=get,duration=1
type=ws_type_3,method=get,duration=1025
type=ws_type_3,method=get,duration=8
type=ws_type_3,method=post,duration=2
type=ws_type_3,method=get,duration=214
type=ws_type_3,method=post,duration=15935
type=ws_type_1,method=get,duration=518
type=ws_type_2,method=get,duration=2139
type=ws_type_3,method=get,duration=11721
type=ws_type_1,method=post,duration=3804
type=ws_type_1,method=post,duration=190
type=ws_type_3,method=get,duration=101
type=ws_type_3,method=get,duration=1
type=ws_type_2,method=post,duration=29
type=ws_type_2,method=get,duration=7016
type=ws_type_1,method=post,duration=2463
type=ws_type_2,method=post,duration=300
type=ws_type_1,method=get,duration=1758
type=ws_type_3,method=get,duration=234
type=ws_type_1,method=get,duration=2443
type=ws_type_1,method=get,duration=3027
type=ws_type_3,method=get,duration=13557
type=ws_type_1,method=get,duration=235
type=ws_type_1,method=post,duration=10715
type=ws_type_3,method=get,duration=3645
type=ws_type_2,method=get,duration=15489
type=ws_type_2,method=get,duration=1540
type=ws_type_1,method=post,duration=5
type=ws_type_3,method=get,duration=2410
type=ws_type_1,method=get,duration=101
type=ws_type_2,method=get,duration=1583
type=ws_type_3,method=get,duration=1501
type=ws_type_2,method=get,duration=24
type=ws_type_1,method=get,duration=8486
type=ws_type_1,method=get,duration=6652
type=ws_type_3,method=post,duration=14
type=ws_type_3,method=get,duration=10
type=ws_type_3,method=get,duration=23
type=ws_type_1,method=get,duration=3
type=ws_type_1,method=get,duration=66
type=ws_type_3,method=get,duration=1665
type=ws_type_1,method=get,duration=168
type=ws_type_1,method=get,duration=3
type=ws_type_2,method=get,duration=13971
type=ws_type_2,method=get,duration=1
type=ws_type_1,method=get,duration=7326
type=ws_type_1,method=post,duration=3431
type=ws_type_3,method=post,duration=1
type=ws_type_1,method=get,duration=2
type=ws_type_3,method=get,duration=1486
type=ws_type_3,method=get,duration=95
type=ws_type_2,method=get,duration=2401
type=ws_type_3,method=get,duration=1
type=ws_type_3,method=post,duration=8652
type=ws_type_1,method=post,duration=1202
type=ws_type_1,method=get,duration=12806
type=ws_type_3,method=get,duration=39
type=ws_type_3,method=get,duration=8693
type=ws_type_3,method=get,duration=5612
type=ws_type_1,method=get,duration=13652
type=ws_type_2,method=get,duration=661
type=ws_type_1,method=get,duration=4725
type=ws_type_3,method=get,duration=38
type=ws_type_2,method=get,duration=7479
type=ws_type_2,method=post,duration=15478
type=ws_type_2,method=get,duration=7266
type=ws_type_1,method=get,duration=121
type=ws_type_3,method=get,duration=247
type=ws_type_3,method=get,duration=31
type=ws_type_1,method=get,duration=8
type=ws_type_2,method=get,duration=5282
type=ws_type_3,method=get,duration=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment