The below queries are based on the metrics outputted by my sample Scala app -> https://github.com/MarkVee87/ScalaAkkaHttp_StartingPoint
span_processing_time_seconds_bucket
increase(span_processing_time_seconds_bucket[2m])
histogram_quantile(0.99, sum(rate(span_processing_time_seconds_bucket[2m])) by (le))
Wrap the below query in sum() if aggregating metrics from more than one instance
rate(http_server_requests_total[2m])
sum(up{some_label_to_filter_on=~".*value_contains.*"}) by (label_to_group_by)