aws_alb_oauth_proxy.monitoring   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 0
1
from prometheus_client import Counter, Histogram
2
3
REQUEST_HISTOGRAM = Histogram("request_latency_seconds", "Latency of request handling")
4
UPSTREAM_STATUS_COUNTER = Counter(
5
    "upstream_response_status", "Count of upstream responses by method and status returned", ["method", "status"]
6
)
7