MCPcopy Create free account
hub / github.com/cortexproject/cortex / convertULIDsToString

Function convertULIDsToString

pkg/querier/blocks_store_queryable.go:1171–1177  ·  view source on GitHub ↗
(ids []ulid.ULID)

Source from the content-addressed store, hash-verified

1169}
1170
1171func convertULIDsToString(ids []ulid.ULID) []string {
1172 res := make([]string, len(ids))
1173 for idx, id := range ids {
1174 res[idx] = id.String()
1175 }
1176 return res
1177}
1178
1179func convertBlockHintsToULIDs(hints []hintspb.Block) ([]ulid.ULID, error) {
1180 res := make([]ulid.ULID, len(hints))

Callers 7

fetchSeriesFromStoresMethod · 0.85
createSeriesRequestFunction · 0.85
createLabelNamesRequestFunction · 0.85
createLabelValuesRequestFunction · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected