refactoring: make sure that query_duration_seconds metrics are the same (#7668)
refactoring: make sure that query_duration_seconds metrics are the same (#7668)

* refactoring: make sure that query_duration_seconds are the same

Signed-off-by: Julien Pivotto <df1ed88a312a603dfee9f157a90fa8f7f195ab59@inuits.eu>
GoogleCloudPlatform/prometheus,keegancsmith/prometheus,prometheus/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,prometheus/prometheus,GoogleCloudPlatform/prometheus,prometheus/prometheus,keegancsmith/prometheus,alileza/prometheus,alileza/prometheus,kangwoo/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,kangwoo/prometheus,keegancsmith/prometheus,alileza/prometheus,prometheus/prometheus,prometheus/prometheus,kangwoo/prometheus,kangwoo/prometheus