Visualizing OpenTelemetry histogram exported to Prometheus?

I’m completely new to setting up Grafana. I’m recording latency values into a histogram in Grafana as follows:

histogram.record(latency, &[KeyValue::new("shard", self.shard_id)]);

This is using the Rust API for OpenTelemetry, where Histogram is of this type:

I then see the metrics latency_bucket, latency_count, latency_sum in Grafana. What I would like to visualize is the 99%, 95% and 50% latencies for each shard as well as the same across all shards.

How do I do this in Grafana? What is the correct panel for this and what settings should I use?