forked from google/certificate-transparency-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrites.html
67 lines (58 loc) · 2.21 KB
/
writes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{{ template "head" . }}
{{ template "prom_right_table_head" }}
{{ template "prom_right_table_tail" }}
{{ template "prom_content_head" . }}
<h1>Write Path</h1>
<p>HTTP Requests:
<div id="httpReqsGraph"></div>
<script>
new PromConsole.Graph({
node: document.querySelector("#httpReqsGraph"),
expr: "sum(rate(http_reqs{ep=~'Add.+', job='trillian-ctfe-metrics-http'}[5m])) without (job, instance, logid)",
yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yUnits: "/s",
yTitle: "Queries"
})
</script>
</p>
<p>HTTP Errors:
<div id="httpErrorsGraph"></div>
<script>
new PromConsole.Graph({
name: "HTTP Errors",
node: document.querySelector("#httpErrorsGraph"),
expr: "sum(http_rsps{ep=~'Add.+', job='trillian-ctfe-metrics-http', rc!='200'}) without (instance, logid, job) / ignoring (rc) sum(http_reqs{ep=~'Add.+', job='trillian-ctfe-metrics-http'}) without (instance, logid, job)",
yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yTitle: "Error Rate",
})
</script>
</p>
<p>gRPC Requests:
<div id="grpcReqsGraph"></div>
<script>
new PromConsole.Graph({
node: document.querySelector("#grpcReqsGraph"),
expr: "sum(rate(log_rpc_requests{method=~'/trillian.TrillianLog/Queue.+', job='trillian-logserver-http'}[5m])) without (instance, job)",
yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yUnits: "/s",
yTitle: "Queries"
})
</script>
</p>
<p>gRPC Errors:
<div id="grpcErrorsGraph"></div>
<script>
new PromConsole.Graph({
node: document.querySelector("#grpcErrorsGraph"),
expr: "sum(log_rpc_errors{method=~'/trillian.TrillianLog/Queue.+', job='trillian-logserver-http'}) without (instance, job) / ignoring (rc) sum(log_rpc_requests{method=~'/trillian.TrillianLog/Queue.+', job='trillian-logserver-http'}) without (instance, job)",
yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yTitle: "Error Rate",
})
</script>
</p>
{{ template "prom_content_tail" . }}
{{ template "tail" }}