Aiven-Open / Aiven-Open/karapace
Karapace Schema Registry seems to not be generating metrics
- Lingua principale
- Python
- Stelle
- 634
- Fork
- 110
- Merge medio
- 4g 7h
- PR unite (30g)
- 4
Descrizione
# What happened?
In Karapace 3.16.0 there were metrics on the /metrics endpoint but after updating to Karapace 5.0.0 the metrics endpoint is just returning this:
```
# HELP karapace_http_requests_total Total Request Count for HTTP/TCP Protocol
# TYPE karapace_http_requests_total counter
# HELP karapace_http_requests_duration_seconds Request Duration for HTTP/TCP Protocol
# TYPE karapace_http_requests_duration_seconds histogram
# HELP karapace_http_requests_in_progress In-progress requests for HTTP/TCP Protocol
# TYPE karapace_http_requests_in_progress gauge
```
# What did you expect to happen?
I expected there to be more metrics like the current karapace rest proxy endpoint is returning.
```
# HELP karapace_http_requests_total Total Request Count for HTTP/TCP Protocol
# TYPE karapace_http_requests_total counter
karapace_http_requests_total{method="GET",path="/_health",status="200"} 71.0
karapace_http_requests_total{method="GET",path="/metrics",status="200"} 5.0
karapace_http_requests_total{method="GET",path="/",status="304"} 1.0
# HELP karapace_http_requests_created Total Request Count for HTTP/TCP Protocol
# TYPE karapace_http_requests_created gauge
karapace_http_requests_created{method="GET",path="/_health",status="200"} 1.7539302481875162e+09
karapace_http_requests_created{method="GET",path="/metrics",status="200"} 1.7539302728647845e+09
karapace_http_requests_created{method="GET",path="/",status="304"} 1.7539304745531073e+09
# HELP karapace_http_requests_duration_seconds Request Duration for HTTP/TCP Protocol
# TYPE karapace_http_requests_duration_seconds histogram
karapace_http_requests_duration_seconds_bucket{le="0.005",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.01",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.025",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.05",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.075",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.1",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.25",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.5",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="0.75",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="1.0",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="2.5",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="5.0",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="7.5",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="10.0",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_bucket{le="+Inf",method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_count{method="GET",path="/_health"} 71.0
karapace_http_requests_duration_seconds_sum{method="GET",path="/_health"} 0.008944272994995117
karapace_http_requests_duration_seconds_bucket{le="0.005",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.01",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.025",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.05",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.075",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.1",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.25",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.5",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="0.75",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="1.0",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="2.5",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="5.0",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="7.5",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="10.0",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_bucket{le="+Inf",method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_count{method="GET",path="/metrics"} 5.0
karapace_http_requests_duration_seconds_sum{method="GET",path="/metrics"} 0.004657268524169922
karapace_http_requests_duration_seconds_bucket{le="0.005",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.01",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.025",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.05",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.075",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.1",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.25",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.5",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="0.75",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="1.0",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="2.5",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="5.0",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="7.5",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="10.0",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_bucket{le="+Inf",method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_count{method="GET",path="/"} 1.0
karapace_http_requests_duration_seconds_sum{method="GET",path="/"} 0.0003256797790527344
# HELP karapace_http_requests_duration_seconds_created Request Duration for HTTP/TCP Protocol
# TYPE karapace_http_requests_duration_seconds_created gauge
karapace_http_requests_duration_seconds_created{method="GET",path="/_health"} 1.7539302481873949e+09
karapace_http_requests_duration_seconds_created{method="GET",path="/metrics"} 1.7539302728647113e+09
karapace_http_requests_duration_seconds_created{method="GET",path="/"} 1.7539304745530248e+09
# HELP karapace_http_requests_in_progress In-progress requests for HTTP/TCP Protocol
# TYPE karapace_http_requests_in_progress gauge
karapace_http_requests_in_progress{method="GET",path="/_health"} 0.0
karapace_http_requests_in_progress{method="GET",path="/metrics"} 1.0
karapace_http_requests_in_progress{method="GET",path="/"} 0.0
```
# What else do we need to know?
Nothing I can think of.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.