-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Section 3.3.1.3.1 Key says:
The key identifies the tracestate entry.
key = simple-key / multi-tenant-key
simple-key = lcalpha 0255( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
multi-tenant-key = tenant-id "@" system-id
tenant-id = ( lcalpha / DIGIT ) 0240( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
system-id = lcalpha 013( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
lcalpha = %x61-7A ; a-zNote: Identifiers MUST begin with a lowercase letter or a digit, and can only contain lowercase letters (a-z), digits (0-9), underscores (_), dashes (-), asterisks (*), and forward slashes (/).
The ABNF mandates that simple-key must start with lcalpha, but the note says identifiers can be either a lower case letter and a DIGIT.
url of the document: https://www.w3.org/TR/trace-context/#key