MCPcopy
hub / github.com/grafana/tempo / Scopes

Method Scopes

cmd/tempo-cli/cmd-gen-attrindex.go:801–809  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

799}
800
801func (s *scopeMask) Scopes() []string {
802 scopes := make([]string, 0, 5)
803 for _, scope := range scopeMap {
804 if s.Has(scope.mask) {
805 scopes = append(scopes, scope.name)
806 }
807 }
808 return scopes
809}
810
811func (s *scopeMask) String() string {
812 return strings.Join(s.Scopes(), " ")

Callers 1

StringMethod · 0.95

Calls 1

HasMethod · 0.95

Tested by

no test coverage detected