117def telemetryPolicySiteDescriptor =
118 (lambda unrestricted site : (family CaptureSite) .
119 (telemetryRecordJSON
120 (aosDescriptorRecord
121 b"context"
122 (bytes-append b"context:" (captureSiteIdentifier site))
123 (constructor
124 JSON
125 JSONObject
126 (telemetryPolicyMember
127 b"format"
128 (telemetryPolicyText b"AOS-CAPTURE-SITE/1")
129 (telemetryPolicyMember
130 b"context_id"
131 (telemetryPolicyText (captureSiteIdentifier site))
132 (telemetryPolicyMember
133 b"name"
134 (telemetryPolicyText (captureSiteName site))
135 (telemetryPolicyMember
136 b"scope"
137 (telemetryPolicyText b"static-capture-site; not an acquired runtime span")
138 (telemetryPolicyMember
139 b"capture_class"
140 (telemetryPolicyText (captureClassName (captureSiteClass site)))
141 (telemetryPolicyMember
142 b"reserved"
143 (constructor JSON JSONBoolean (captureSiteReserved site))
144 (telemetryPolicyMember
145 b"declared_dimension_count"
146 (telemetryPolicyNatural (captureSiteDimensions site))
147 (telemetryPolicyMember
148 b"sampling_stride"
149 (telemetryPolicyNatural (captureSiteStride site))
150 (telemetryPolicyMember
151 b"sampling_coordinate"
152 (telemetryPolicyText
153 b"caller-supplied u64; select coordinate modulo stride equal to zero")
154 (constructor JSON JSONObjectEnd))))))))))))))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.