is there a (as of yet) undocumented way to get in values with spaces (key/value) metadata (or tags by using DT_TAGS). is there a way to escape spaces or using a special character interpreted as space in dynatrace?
we have the need to set a key 'support_group', and it needs to hold values like 'department web - team1, department web - team2, ...'.
thanks in advance, florian
Solved! Go to Solution.
We are facing a similar issue on our side with DT_CUSTOM_PROP
A couple of days ago, we have noticed a Dynatrace bug with DT_CUSTOM_PROP which translate "tabs" into "spaces"
We are benefiting from this bug as we are now using tabs whenever we need spaces... and as a workaround, this works for us including for auto-tagging !
In your example above, this would be
export DT_TAGS="value with spaces"
where there is a tab between value and with and another tab between with and spaces
This is seen better in below screenshot using vi with :set list
Tabs are represented as ^I special characters
Maybe this workaround will help while Dynatrace is considering the product idea to support spaces officially.
Hope this helps,