elastic / apm-data

apm-data holds definitions and code for manipulating Elastic APM data
Apache License 2.0
12 stars 25 forks source link

OTel data stream routing does not sanitize values #329

Open carsonip opened 1 month ago

carsonip commented 1 month ago

OTel data stream routing implemented in #201 does not sanitize values, i.e. a - in the supplied dataset / namespace will go through the logic and result in non-compliant data stream name. There are more rules to observe, see in https://www.elastic.co/guide/en/ecs/current/ecs-data_stream.html

The bugfix can be a breaking change for existing users and should be stated as such in changelog.