You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dataset: reject map_fields on otel:metrics:v1 datasets
Metrics datasets do not support map fields, so configuring `map_fields`
alongside `kind = "otel:metrics:v1"` now fails at plan time instead of
reaching the API.
The rule lives in a custom `validator.List` on the `map_fields` attribute
that reads the sibling `kind` from the config, keeping it next to the
existing field-name and uniqueness validators. An explicitly configured
empty list is rejected too, which also avoids a pointless
`UpdateMapFields` call on create/update.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments