MCPcopy Index your code
hub / github.com/cortexproject/cortex / Metadata

Method Metadata

integration/e2ecortex/client.go:424–427  ·  view source on GitHub ↗

Metadata runs a metadata query

(name, limit string)

Source from the content-addressed store, hash-verified

422
423// Metadata runs a metadata query
424func (c *Client) Metadata(name, limit string) (map[string][]promv1.Metadata, error) {
425 metadata, err := c.querierClient.Metadata(context.Background(), name, limit)
426 return metadata, err
427}
428
429// QueryExemplars runs an exemplars query
430func (c *Client) QueryExemplars(query string, start, end time.Time) ([]promv1.ExemplarQueryResult, error) {

Callers 7

TestOTLPFunction · 0.95
Test_PushQuery_UTF8Function · 0.95
TestIngestFunction · 0.95
testMetadataQueryParamsFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestOTLPFunction · 0.76
Test_PushQuery_UTF8Function · 0.76
TestIngestFunction · 0.76
testMetadataQueryParamsFunction · 0.36