()
| 1003 | } |
| 1004 | |
| 1005 | func newJobsPerQueryHistogram() *prometheus.HistogramVec { |
| 1006 | return prometheus.NewHistogramVec(prometheus.HistogramOpts{ |
| 1007 | Name: "test_query_frontend_jobs_per_query", |
| 1008 | Help: "Test histogram for jobs per query.", |
| 1009 | Buckets: prometheus.DefBuckets, |
| 1010 | }, []string{"op"}) |
| 1011 | } |
| 1012 | |
| 1013 | func TestHashTraceQLQuery(t *testing.T) { |
| 1014 | // exact same queries should have the same hash |
no outgoing calls
no test coverage detected