How does one get histograms in influxdb

I basically have a template for my grafana dashboard with prometheus and I’m trying to translate those to influxdb.
Particularly, I have a query,
“histogram_quantile(0.98,sum(rate(resilience4j_circuitbreaker_calls_seconds_bucket{application=~”$application", instance=~"$instance", name=~"$circuitbreaker_name"}[1m])) by (le))" in prometheus.

I need this same dashboard using influxdb. Any help would be amazing!
Alteranatively, is there an easy way to translate prometheus dashboards to infuxdb?

InfluxQL doesn’t support histogram generation.

You might be able to use the Flux histogram function, but this isn’t something I’ve tried personally.