Skip to content

Commit b8e5dad

Browse files
authored
[chore] URL attributes: consistently use code font for URLs and URL parts (open-telemetry#783)
1 parent bdbcf68 commit b8e5dad

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/attributes-registry/url.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ linkTitle: URL
3535

3636
**[5]:** Sensitive content provided in query string SHOULD be scrubbed when instrumentations can identify it.
3737

38-
**[6]:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for "foo.example.com" is "example.com". Trying to approximate this by simply taking the last two labels will not work well for TLDs such as "co.uk".
38+
**[6]:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
3939

40-
**[7]:** The subdomain portion of "www.east.mydomain.co.uk" is "east". If the domain has multiple levels of subdomain, such as "sub2.sub1.example.com", the subdomain field should contain "sub2.sub1", with no trailing period.
40+
**[7]:** The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
4141

4242
**[8]:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org).
4343
<!-- endsemconv -->

model/registry/url.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ groups:
7979
examples: ["example.com", "foo.co.uk"]
8080
note: >
8181
This value can be determined precisely with the [public suffix list](http://publicsuffix.org).
82-
For example, the registered domain for "foo.example.com" is "example.com".
83-
Trying to approximate this by simply taking the last two labels will not work well for TLDs such as "co.uk".
82+
For example, the registered domain for `foo.example.com` is `example.com`.
83+
Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
8484
- id: scheme
8585
stability: stable
8686
type: string
@@ -95,8 +95,8 @@ groups:
9595
full name cannot be determined, subdomain contains all of the names below the registered domain.
9696
examples: ["east", "sub2.sub1"]
9797
note: >
98-
The subdomain portion of "www.east.mydomain.co.uk" is "east". If the domain has multiple levels of subdomain,
99-
such as "sub2.sub1.example.com", the subdomain field should contain "sub2.sub1", with no trailing period.
98+
The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain,
99+
such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
100100
- id: top_level_domain
101101
type: string
102102
brief: >

0 commit comments

Comments
 (0)