Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow @ in tracestate key names for multi-tenant vendors #153

Merged
merged 2 commits into from
Aug 8, 2018

Conversation

SergeyKanzhelev
Copy link
Member

## Vendor name in a key

Sign `@` is allowed in a key for easy parsing of vendor name out of tracestate key. Idea is that with the registry of trace vendors one can easily understand the vendor name and how to parse it's trace state. Without `@` sign parsing will be more complicated. Also `@` sign has known semantics in
addressing for protocols like ftp and e-mails.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unintentional line-break?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's markdown

## Vendor name in a key

Sign `@` is allowed in a key for easy parsing of vendor name out of tracestate key. Idea is that with the registry of trace vendors one can easily understand the vendor name and how to parse it's trace state. Without `@` sign parsing will be more complicated. Also `@` sign has known semantics in
addressing for protocols like ftp and e-mails.
Copy link
Member

@discostu105 discostu105 Aug 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, not sure if "Also @ sign has known semantics in addressing for protocols like ftp and e-mails" really adds a lot here. Would it hurt to remove this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine. Any way to explain it easier?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I't ok, I'm also fine with keeping this.

@SergeyKanzhelev SergeyKanzhelev changed the title Sergkanz/add at sign Allow @ in tracestate key names for multi-tenant vendors Aug 7, 2018
@AloisReitbauer AloisReitbauer merged commit 05859d0 into master Aug 8, 2018
lcalpha = %x61-7A ; a-z
```

Note that identifiers MUST begin with a lowercase letter, and can only contain lowercase letters `a`-`z`, digits `0`-`9`, underscores `_`, dashes `-`, asterisks `*`, and forward slashes `/`.
Note that identifiers MUST begin with a lowercase letter, and can only contain lowercase letters `a`-`z`, digits `0`-`9`, underscores `_`, dashes `-`, asterisks `*`, and forward slashes `/`. For multi-tenant vendors scenarios `@` sign can be used to prefix vendor name. Suggested use is to allow set tenant id in the beginning of key like `fw529a3039@dt` - `fw529a3039` is a tenant id and `@dt` is a vendor name. Searching for `@dt=` would be more robust for parsing (searching for all vendor's keys).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you all are way too quick to make decisions like this.

@codefromthecrypt
Copy link

codefromthecrypt commented Aug 8, 2018 via email

@SergeyKanzhelev SergeyKanzhelev deleted the sergkanz/addAtSign branch August 23, 2018 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants