Skip to content

Commit ec61b97

Browse files
authored
[RulesetEng, Workers] Add note about metro code values (cloudflare#26655)
1 parent 832c0ad commit ec61b97

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/content/docs/workers/runtime-apis/request.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ All plans have access to:
309309

310310
* `metroCode` string | null
311311

312-
* Metro code (DMA) of the incoming request, for example, `"635"`.
312+
* Metro code (DMA) of the incoming request.
313+
314+
Currently `metroCode` is not populated, but this may change in the future. Refer to the [Changelog](/changelog/) for any updates.
313315

314316
* `region` string | null
315317

src/content/fields/index.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ entries:
209209
categories: [Request, Geolocation]
210210
keywords: [request, location, geolocation, dma, client, visitor]
211211
summary: The metro code or Designated Market Area (DMA) code associated with the incoming request.
212-
example_value: |-
213-
"635"
212+
description: |-
213+
**Note**: Currently the value of `ip.src.metro_code` is always `"0"`, but this may change in the future. Refer to the [Changelog](/changelog/) for any updates.
214214
215215
- name: ip.src.region
216216
data_type: String

0 commit comments

Comments
 (0)