Add status_class and method label to request duration metrics

What does this MR do?

Add status_class and method labels to request duration metrics

Opted to go for status_class instead of status for request duration metrics to reduce the cardinality of the metric.

Why was this MR needed?

To add more granularity to the request metrics collected from the runner.

What's the best way to test this MR?

go test ./network/...

What are the relevant issue numbers?

Issue 38654

Merge request reports

Loading