Skip to content

Instantly share code, notes, and snippets.

@liamawhite
Created June 8, 2020 17:10
Show Gist options
  • Save liamawhite/bc957be682fc3ae5558ef5ab1636858f to your computer and use it in GitHub Desktop.
Save liamawhite/bc957be682fc3ae5558ef5ab1636858f to your computer and use it in GitHub Desktop.
curl localhost:8889/metrics | grep source
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="10"} 80
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="50"} 393
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="100"} 679
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="200"} 697
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="400"} 733
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="800"} 807
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="1000"} 830
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="1400"} 858
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="2000"} 860
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="5000"} 890
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="10000"} 937
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="15000"} 960
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source1",le="+Inf"} 969
promexample_opdemo_latency_sum{client="cli",label1="value1",method="repl",source="source1"} 1.004928215399999e+06
promexample_opdemo_latency_count{client="cli",label1="value1",method="repl",source="source1"} 969
promexample_opdemo_line_counts{client="cli",label1="value1",method="repl",source="source1"} 2860
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="10"} 34
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="20"} 66
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="50"} 160
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="100"} 292
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="150"} 430
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="200"} 565
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="500"} 1446
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="800"} 2286
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source1",le="+Inf"} 2860
promexample_opdemo_line_lengths_sum{client="cli",label1="value1",method="repl",source="source1"} 1.4241840000000005e+06
promexample_opdemo_line_lengths_count{client="cli",label1="value1",method="repl",source="source1"} 2860
promexample_opdemo_process_counts{client="cli",label1="value1",method="repl",source="source1"} 969
curl localhost:8889/metrics | grep source
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="10"} 79
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="50"} 408
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="100"} 750
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="200"} 762
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="400"} 809
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="800"} 879
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="1000"} 923
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="1400"} 951
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="2000"} 953
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="5000"} 975
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="10000"} 1015
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="15000"} 1044
promexample_opdemo_latency_bucket{client="cli",label1="value1",method="repl",source="source2",le="+Inf"} 1051
promexample_opdemo_latency_sum{client="cli",label1="value1",method="repl",source="source2"} 1.0032419538999996e+06
promexample_opdemo_latency_count{client="cli",label1="value1",method="repl",source="source2"} 1051
promexample_opdemo_line_counts{client="cli",label1="value1",method="repl",source="source2"} 3243
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="10"} 30
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="20"} 65
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="50"} 170
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="100"} 343
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="150"} 493
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="200"} 660
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="500"} 1616
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="800"} 2612
promexample_opdemo_line_lengths_bucket{client="cli",label1="value1",method="repl",source="source2",le="+Inf"} 3243
promexample_opdemo_line_lengths_sum{client="cli",label1="value1",method="repl",source="source2"} 1.606723000000001e+06
promexample_opdemo_line_lengths_count{client="cli",label1="value1",method="repl",source="source2"} 3243
promexample_opdemo_process_counts{client="cli",label1="value1",method="repl",source="source2"} 1051
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment