Section 3 · Remote configuration

Common patterns and examples for attribute matching

Estimated time: 1 min

Common patterns

Because every collector carries its own attributes, you can organize your fleet along whatever dimensions fit: environment, region, team, service, or even Kubernetes namespace.

PatternMatcher examples
Environment-basedenv="production", env="staging"
Region-basedregion="us-east", region="eu-west"
Team-basedteam="platform", team="backend"
Catch-allcollector.os=~".+" (matches all collectors)

Example: Production platform pipeline

Matchers: env=~"prod-.*", team="platform"

This pipeline applies to collectors where:

  • env matches the regex prod-.* AND
  • team equals platform

Limits to know

LimitValue
Matcher length200 characters max (key + operator + value)
Local attributes per collector22 max when polling

These limits are generous for most use cases, but worth knowing as you design your schema.