metrico / qryn

⭐️ All-in-One Polyglot Observability with OLAP Storage for Logs, Metrics, Traces & Profiles. Drop-in Grafana Cloud replacement compatible with Loki, Prometheus, Tempo, Pyroscope, Opentelemetry, Datadog and beyond :rocket:
https://qryn.dev
GNU Affero General Public License v3.0
1.24k stars 68 forks source link

Unexpected metrics gaps #421

Closed deathalt closed 10 months ago

deathalt commented 10 months ago

histogram_quantile(0.5, sum by(le) (rate(http_server_request_duration_seconds_bucket{job="Service", instance=~""}[1m])))

return point for every minute

histogram_quantile(0.5, sum by(le) (rate(http_server_request_duration_seconds_bucket{job="Service", instance=~""}[30s])))

return nothing, as all values < 1m

in request http_server_request_duration_seconds_bucket{job="Service", instance=~""} metrics exists for every 15 seconds

rate(http_server_request_duration_seconds_bucket{job="Service", instance=~""}[60s])

return data for every minute

rate(http_server_request_duration_seconds_bucket{job="Service", instance=~""}[59s])

return nothing

I'm sent same data from otel collector to qryn and prometheus and all requests to prometheus works fine, but qryn return nothing without any errors.

image

image

image

akvlad commented 10 months ago

@deathalt the issue should be fixed in 3.0.30. Feel free to update.

deathalt commented 10 months ago

@akvlad now everything works

Great job, thanks! I'm closing the issue, but feel free to reopen it if needed.