File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ defmodule OpentelemetryBandit do
34
34
default: [ ] ,
35
35
type_spec: quote ( do: opt_in_attrs ( ) ) ,
36
36
doc: """
37
- Use semantic conventions library to ensure compatability , e.g. `[HTTPAttributes.http_request_body_size()]`
37
+ Use semantic conventions library to ensure compatibility , e.g. `[HTTPAttributes.http_request_body_size()]`
38
38
39
39
#{ Enum . map_join ( opt_ins , "\n \n " , & " * `#{ inspect ( & 1 ) } `" ) }
40
40
"""
@@ -93,7 +93,7 @@ defmodule OpentelemetryBandit do
93
93
]
94
94
)
95
95
96
- @ typedoc "Use semantic conventions library to ensure compatability , e.g. `HTTPAttributes.http_request_body_size()`"
96
+ @ typedoc "Use semantic conventions library to ensure compatibility , e.g. `HTTPAttributes.http_request_body_size()`"
97
97
@ type opt_in_attr ( ) ::
98
98
unquote ( ClientAttributes . client_port ( ) )
99
99
| unquote ( HTTPAttributes . http_request_body_size ( ) )
@@ -119,7 +119,7 @@ defmodule OpentelemetryBandit do
119
119
### Opt-in Semantic Convention Attributes
120
120
121
121
Otel SemConv requires users to explicitly opt in for any attribute with a
122
- requirement level of `opt-in`. To ensure compatability , always use the
122
+ requirement level of `opt-in`. To ensure compatibility , always use the
123
123
SemConv attribute.
124
124
125
125
Example:
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Supported opt-in attributes can be configured using the `opt_in_attrs` option.
39
39
### Opt-in Semantic Convention Attributes
40
40
41
41
Otel SemConv requires users to explicitly opt in for any attribute with a
42
- requirement level of `opt-in`. To ensure compatability , always use the
42
+ requirement level of `opt-in`. To ensure compatibility , always use the
43
43
SemConv attribute.
44
44
45
45
Example:
@@ -105,7 +105,7 @@ Supported options:
105
105
* `client_address_headers` - Headers to use for extracting original client request address info. Default: `[<<"forwarded">>, <<"x-forwarded-for">>]`
106
106
* `client_headers_sort_fn` - Custom client header sort fn. See `otel_http` for more info. Default: `undefined`
107
107
* `handler_id` - Only set when running multiple instances on different endpoints. Default: `otel_cowboy`
108
- * `opt_in_attrs` - Use semantic conventions library to ensure compatability , e.g. `[{?HTTP_REQUEST_BODY_SIZE, true}]`. Default: `[]`
108
+ * `opt_in_attrs` - Use semantic conventions library to ensure compatibility , e.g. `[{?HTTP_REQUEST_BODY_SIZE, true}]`. Default: `[]`
109
109
* `public_endpoint` - Endpoint is public. Propagated traces will be added as a link. Default: `false`
110
110
* `public_endpoint_fn` - Default function returns `false`. See docs for more info.
111
111
* `request_headers` - List of request headers to add as attributes. (lowercase). Default: `[]`
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ defmodule OpentelemetryReq do
29
29
default: [ ] ,
30
30
type_spec: quote ( do: opt_in_attrs ( ) ) ,
31
31
doc: """
32
- Opt-in and experimental attributes. Use semantic conventions library to ensure compatability , e.g. `[{HTTPAttributes.http_request_body_size(), true}]`
32
+ Opt-in and experimental attributes. Use semantic conventions library to ensure compatibility , e.g. `[{HTTPAttributes.http_request_body_size(), true}]`
33
33
34
34
#{ Enum . map_join ( opt_ins , "\n \n " , & " * `#{ inspect ( & 1 ) } `" ) }
35
35
"""
@@ -56,7 +56,7 @@ defmodule OpentelemetryReq do
56
56
]
57
57
)
58
58
59
- @ typedoc "Use semantic conventions library to ensure compatability , e.g. `HTTPAttributes.http_request_body_size()`"
59
+ @ typedoc "Use semantic conventions library to ensure compatibility , e.g. `HTTPAttributes.http_request_body_size()`"
60
60
@ type opt_in_attr ( ) ::
61
61
unquote ( HTTPAttributes . http_request_body_size ( ) )
62
62
| unquote ( HTTPAttributes . http_response_body_size ( ) )
@@ -95,7 +95,7 @@ defmodule OpentelemetryReq do
95
95
### Opt-in Semantic Convention Attributes
96
96
97
97
Otel SemConv requires users to explicitly opt in for any attribute with a
98
- requirement level of `opt-in` or `experimental`. To ensure compatability , always use the
98
+ requirement level of `opt-in` or `experimental`. To ensure compatibility , always use the
99
99
SemConv attribute.
100
100
101
101
Example:
You can’t perform that action at this time.
0 commit comments