-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Clarifying tag key parameters #35343
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,7 +58,8 @@ | |
|
|
||
| 1. Tags must **start with a letter** and after that may contain the characters listed below: | ||
|
|
||
| - Alphanumerics | ||
| - Letters (all Unicode letters are supported, e.g., a, ó, 気, 녕, ك, and ดี) | ||
| - Numbers | ||
| - Underscores | ||
| - Minuses | ||
| - Colons | ||
|
|
@@ -68,7 +69,7 @@ | |
|
|
||
| Other special characters are converted to underscores. | ||
|
|
||
| 2. Tags can be **up to 200 characters** long and support Unicode letters (which includes most character sets, including languages such as Japanese). | ||
| 2. Tags can be **up to 200 characters** long. | ||
| 3. Tags are converted to lowercase. Therefore, `CamelCase` tags are not recommended. Authentication (crawler) based integrations convert camel case tags to underscores, for example `TestTag` --> `test_tag`. | ||
| 4. A tag can be in the format `value` or `<KEY>:<VALUE>`. Commonly used tag keys are `env`, `instance`, and `name`. The key always precedes the first colon of the global tag definition, for example: | ||
|
|
||
|
|
@@ -171,4 +172,4 @@ | |
| [22]: /getting_started/tagging/using_tags/#developers | ||
| [23]: /account_management/billing/usage_attribution/ | ||
| [24]: /getting_started/tagging/using_tags/#ci-visibility | ||
| [25]: /containers/troubleshooting/log-collection?tab=datadogoperator#missing-host-level-tags-on-new-hosts-or-nodes | ||
| [25]: /containers/troubleshooting/log-collection?tab=datadogoperator#missing-host-level-tags-on-new-hosts-or-nodes | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. mrrr I didn't add this back in (intentionally)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just lurking, and thought I'd respond :) This happens regularly...I'm not sure why though...I've seen it my own PR and other's.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks May! it's helpful to know you've seen this often. I was just looking closer and realized git is saying, "this content was removed from line 174 and added on line 175." oddly, that pattern is true of all of the content on this page below my change (since my change added a line), but it's only recognized on this (last) line do you always see this kind of thing with the last line of a file, or does the location vary?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ohh interesting, I never looked into it, but that kind of makes sense. I do always see it with the last line of a file.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, noted! thank you! |
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if I'm wrong, but aren't emojis a subset of Unicode? Does that mean we allow emojis in tags?