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

Method DropLabels

pkg/util/validation/limits.go:680–682  ·  view source on GitHub ↗

DropLabels returns the list of labels to be dropped when ingesting HA samples for the user.

(userID string)

Source from the content-addressed store, hash-verified

678
679// DropLabels returns the list of labels to be dropped when ingesting HA samples for the user.
680func (o *Overrides) DropLabels(userID string) flagext.StringSlice {
681 return o.GetOverridesForUser(userID).DropLabels
682}
683
684// MaxLabelNameLength returns maximum length a label name can be.
685func (o *Overrides) MaxLabelNameLength(userID string) int {

Callers

nothing calls this directly

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected