@@ -159,6 +159,7 @@ class _AttributeNamesMeta(type):
159159 "_HTTP_REQUEST_METHOD",
160160 "HTTP_RESPONSE_CONTENT_LENGTH",
161161 "HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED",
162+ "_HTTP_RESPONSE_DELIVERY_TYPE",
162163 "HTTP_RESPONSE_TRANSFER_SIZE",
163164 "HTTP_SCHEME",
164165 "HTTP_SERVER_NAME",
@@ -6745,6 +6746,26 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
67456746 Example: 123
67466747 """
67476748
6749+ # Path: model/attributes/http/http__response__delivery_type.json
6750+ HTTP_RESPONSE_DELIVERY_TYPE: Literal["http.response.delivery_type"] = (
6751+ "http.response.delivery_type"
6752+ )
6753+ """The delivery type of the resource, as reported by the browser's PerformanceResourceTiming.deliveryType property.
6754+
6755+ Type: str
6756+ Apply Scrubbing: manual
6757+ Defined in OTEL: No
6758+ Visibility: public
6759+ Well-defined Values:
6760+ - `cache` - The resource was retrieved from a cache.
6761+ - `navigational-prefetch` - The resource was retrieved from a prefetched response, for example one that the Speculation Rules API stored.
6762+ - `` - The resource was not retrieved from a cache or by navigational prefetch.
6763+ Aliases: http.response_delivery_type
6764+ Example: "cache"
6765+ Example: "navigational-prefetch"
6766+ Example: ""
6767+ """
6768+
67486769 # Path: model/attributes/http/http__response__header__[key].json
67496770 HTTP_RESPONSE_HEADER_KEY: Literal["http.response.header.<key>"] = (
67506771 "http.response.header.<key>"
@@ -6845,7 +6866,7 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
68456866 """
68466867
68476868 # Path: model/attributes/http/http__response_delivery_type.json
6848- HTTP_RESPONSE_DELIVERY_TYPE : Literal["http.response_delivery_type"] = (
6869+ _HTTP_RESPONSE_DELIVERY_TYPE : Literal["http.response_delivery_type"] = (
68496870 "http.response_delivery_type"
68506871 )
68516872 """The delivery type of the resource, as reported by the browser's PerformanceResourceTiming.deliveryType property.
@@ -6854,10 +6875,8 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
68546875 Apply Scrubbing: manual
68556876 Defined in OTEL: No
68566877 Visibility: public
6857- Well-defined Values:
6858- - `cache` - The resource was retrieved from a cache.
6859- - `navigational-prefetch` - The resource was retrieved from a prefetched response, for example one that the Speculation Rules API stored.
6860- - `` - The resource was not retrieved from a cache or by navigational prefetch.
6878+ Aliases: http.response.delivery_type
6879+ DEPRECATED: Use http.response.delivery_type instead - Use http.response.delivery_type, which follows the http.response.* namespace.
68616880 Example: "cache"
68626881 Example: "navigational-prefetch"
68636882 Example: ""
@@ -23165,6 +23184,28 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
2316523184 ],
2316623185 search_alias=SearchAlias(name="http.response.body.size", type="byte"),
2316723186 ),
23187+ "http.response.delivery_type": AttributeMetadata(
23188+ brief="The delivery type of the resource, as reported by the browser's PerformanceResourceTiming.deliveryType property.",
23189+ type=AttributeType.STRING,
23190+ keys=(
23191+ "http.response.delivery_type",
23192+ "http.response_delivery_type",
23193+ ),
23194+ apply_scrubbing=ApplyScrubbingInfo(key=ApplyScrubbing.MANUAL),
23195+ is_in_otel=False,
23196+ visibility=Visibility.PUBLIC,
23197+ example="cache",
23198+ examples=["cache", "navigational-prefetch", ""],
23199+ aliases=["http.response_delivery_type"],
23200+ changelog=[
23201+ ChangelogEntry(
23202+ version="next",
23203+ prs=[825],
23204+ description="Added http.response.delivery_type attribute",
23205+ ),
23206+ ],
23207+ additional_context=["Browsers may add more values later."],
23208+ ),
2316823209 "http.response.header.<key>": AttributeMetadata(
2316923210 brief="HTTP response headers, <key> being the lower-cased, but otherwise unchanged HTTP Header name, the value being the header values.",
2317023211 type=AttributeType.STRING_ARRAY,
@@ -23318,20 +23359,28 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
2331823359 "http.response_delivery_type": AttributeMetadata(
2331923360 brief="The delivery type of the resource, as reported by the browser's PerformanceResourceTiming.deliveryType property.",
2332023361 type=AttributeType.STRING,
23321- keys=("http.response_delivery_type",),
23362+ keys=(
23363+ "http.response.delivery_type",
23364+ "http.response_delivery_type",
23365+ ),
2332223366 apply_scrubbing=ApplyScrubbingInfo(key=ApplyScrubbing.MANUAL),
2332323367 is_in_otel=False,
2332423368 visibility=Visibility.PUBLIC,
2332523369 example="cache",
2332623370 examples=["cache", "navigational-prefetch", ""],
23371+ deprecation=DeprecationInfo(
23372+ replacement="http.response.delivery_type",
23373+ reason="Use http.response.delivery_type, which follows the http.response.* namespace.",
23374+ status=DeprecationStatus.BACKFILL,
23375+ ),
23376+ aliases=["http.response.delivery_type"],
2332723377 changelog=[
2332823378 ChangelogEntry(
2332923379 version="next",
2333023380 prs=[825],
23331- description="Added http.response_delivery_type attribute",
23381+ description="Added http.response_delivery_type attribute, deprecated in favor of http.response.delivery_type ",
2333223382 ),
2333323383 ],
23334- additional_context=["Browsers may add more values later."],
2333523384 ),
2333623385 "http.response_transfer_size": AttributeMetadata(
2333723386 brief="The transfer size of the response (in bytes).",
@@ -33369,6 +33418,7 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta):
3336933418 "http.request_method": str,
3337033419 "http.response.body.decoded_size": int,
3337133420 "http.response.body.size": int,
33421+ "http.response.delivery_type": str,
3337233422 "http.response.header.<key>": List[str],
3337333423 "http.response.header.content-length": str,
3337433424 "http.response.size": int,
0 commit comments