1 | ;
|
2 | /*
|
3 | * Copyright The OpenTelemetry Authors
|
4 | *
|
5 | * Licensed under the Apache License, Version 2.0 (the "License");
|
6 | * you may not use this file except in compliance with the License.
|
7 | * You may obtain a copy of the License at
|
8 | *
|
9 | * https://www.apache.org/licenses/LICENSE-2.0
|
10 | *
|
11 | * Unless required by applicable law or agreed to in writing, software
|
12 | * distributed under the License is distributed on an "AS IS" BASIS,
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 | * See the License for the specific language governing permissions and
|
15 | * limitations under the License.
|
16 | */
|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
18 | exports.BAGGAGE_MAX_TOTAL_LENGTH = exports.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS = exports.BAGGAGE_MAX_NAME_VALUE_PAIRS = exports.BAGGAGE_HEADER = exports.BAGGAGE_ITEMS_SEPARATOR = exports.BAGGAGE_PROPERTIES_SEPARATOR = exports.BAGGAGE_KEY_PAIR_SEPARATOR = void 0;
|
19 | exports.BAGGAGE_KEY_PAIR_SEPARATOR = '=';
|
20 | exports.BAGGAGE_PROPERTIES_SEPARATOR = ';';
|
21 | exports.BAGGAGE_ITEMS_SEPARATOR = ',';
|
22 | // Name of the http header used to propagate the baggage
|
23 | exports.BAGGAGE_HEADER = 'baggage';
|
24 | // Maximum number of name-value pairs allowed by w3c spec
|
25 | exports.BAGGAGE_MAX_NAME_VALUE_PAIRS = 180;
|
26 | // Maximum number of bytes per a single name-value pair allowed by w3c spec
|
27 | exports.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS = 4096;
|
28 | // Maximum total length of all name-value pairs allowed by w3c spec
|
29 | exports.BAGGAGE_MAX_TOTAL_LENGTH = 8192;
|
30 | //# sourceMappingURL=constants.js.map |
\ | No newline at end of file |