MCPcopy Index your code
hub / github.com/prometheus/prometheus / NewQuerySamples

Function NewQuerySamples

util/stats/query_stats.go:400–403  ·  view source on GitHub ↗
(enablePerStepStats bool)

Source from the content-addressed store, hash-verified

398}
399
400func NewQuerySamples(enablePerStepStats bool) *QuerySamples {
401 qs := QuerySamples{EnablePerStepStats: enablePerStepStats}
402 return &qs
403}
404
405func (*QuerySamples) NewChild() *QuerySamples {
406 return NewQuerySamples(false)

Callers 7

newQueryMethod · 0.92
NewTestQueryMethod · 0.92
NewChildMethod · 0.85
NewChildWithStepTrackingFunction · 0.85

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…