The Customer Data Platform for Developers
Website · Documentation · Community Slack
---We want labels used for observability to be shared across all language runtimes for consistency so we are using go templates to generate the standard labels using a single labels file, templates and generator.
- Add new labels to this file
- Run:
make generate
- Labels will be updated for each supported language.
- Start with lower case and use camel with alphanumeric characters
- Examples:
- ✅ sourceId
- ✅ destinationId
- ❌ SourceID
- ❌ destination_id
- Note: When generating
key
to refer label name we use snake case capital letters.
- int
- int64
- float32
- float64
- string
- error
- bool
- Time
- TODO: add support for duration