1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
/*
 * Fastly API
 *
 * Via the Fastly API you can perform any of the operations that are possible within the management console,  including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/) 
 *
 */

/// RealtimeMeasurements : Statistics that have occurred since the last request.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RealtimeMeasurements {
    /// Number of requests processed.
    #[serde(rename = "requests", skip_serializing_if = "Option::is_none")]
    pub requests: Option<i32>,
    /// Number of log lines sent (alias for `log`).
    #[serde(rename = "logging", skip_serializing_if = "Option::is_none")]
    pub logging: Option<i32>,
    /// Number of log lines sent.
    #[serde(rename = "log", skip_serializing_if = "Option::is_none")]
    pub log: Option<i32>,
    /// Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).
    #[serde(rename = "resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub resp_header_bytes: Option<i32>,
    /// Total header bytes delivered (alias for resp_header_bytes).
    #[serde(rename = "header_size", skip_serializing_if = "Option::is_none")]
    pub header_size: Option<i32>,
    /// Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).
    #[serde(rename = "resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub resp_body_bytes: Option<i32>,
    /// Total body bytes delivered (alias for resp_body_bytes).
    #[serde(rename = "body_size", skip_serializing_if = "Option::is_none")]
    pub body_size: Option<i32>,
    /// Number of cache hits.
    #[serde(rename = "hits", skip_serializing_if = "Option::is_none")]
    pub hits: Option<i32>,
    /// Number of cache misses.
    #[serde(rename = "miss", skip_serializing_if = "Option::is_none")]
    pub miss: Option<i32>,
    /// Number of requests that passed through the CDN without being cached.
    #[serde(rename = "pass", skip_serializing_if = "Option::is_none")]
    pub pass: Option<i32>,
    /// Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement).
    #[serde(rename = "synth", skip_serializing_if = "Option::is_none")]
    pub synth: Option<i32>,
    /// Number of cache errors.
    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
    pub errors: Option<i32>,
    /// Total amount of time spent processing cache hits (in seconds).
    #[serde(rename = "hits_time", skip_serializing_if = "Option::is_none")]
    pub hits_time: Option<f32>,
    /// Total amount of time spent processing cache misses (in seconds).
    #[serde(rename = "miss_time", skip_serializing_if = "Option::is_none")]
    pub miss_time: Option<f32>,
    /// A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket.
    #[serde(rename = "miss_histogram", skip_serializing_if = "Option::is_none")]
    pub miss_histogram: Option<::std::collections::HashMap<String, serde_json::Value>>,
    /// The total number of requests that were received for your service by Fastly.
    #[serde(rename = "compute_requests", skip_serializing_if = "Option::is_none")]
    pub compute_requests: Option<i32>,
    /// The amount of active CPU time used to process your requests (in milliseconds).
    #[serde(rename = "compute_execution_time_ms", skip_serializing_if = "Option::is_none")]
    pub compute_execution_time_ms: Option<f32>,
    /// The amount of RAM used for your service by Fastly (in bytes).
    #[serde(rename = "compute_ram_used", skip_serializing_if = "Option::is_none")]
    pub compute_ram_used: Option<i32>,
    /// The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
    #[serde(rename = "compute_request_time_ms", skip_serializing_if = "Option::is_none")]
    pub compute_request_time_ms: Option<f32>,
    /// The total amount of request processing time you will be billed for, measured in 50 millisecond increments.
    #[serde(rename = "compute_request_time_billed_ms", skip_serializing_if = "Option::is_none")]
    pub compute_request_time_billed_ms: Option<f32>,
    /// Number of requests from edge to the shield POP.
    #[serde(rename = "shield", skip_serializing_if = "Option::is_none")]
    pub shield: Option<i32>,
    /// Number of requests that were received over IPv6.
    #[serde(rename = "ipv6", skip_serializing_if = "Option::is_none")]
    pub ipv6: Option<i32>,
    /// Number of responses that came from the Fastly Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed.
    #[serde(rename = "imgopto", skip_serializing_if = "Option::is_none")]
    pub imgopto: Option<i32>,
    /// Number of responses that came from the Fastly Image Optimizer service via a shield.
    #[serde(rename = "imgopto_shield", skip_serializing_if = "Option::is_none")]
    pub imgopto_shield: Option<i32>,
    /// Number of transforms performed by the Fastly Image Optimizer service.
    #[serde(rename = "imgopto_transforms", skip_serializing_if = "Option::is_none")]
    pub imgopto_transforms: Option<i32>,
    /// Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp", skip_serializing_if = "Option::is_none")]
    pub otfp: Option<i32>,
    /// Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand via a shield.
    #[serde(rename = "otfp_shield", skip_serializing_if = "Option::is_none")]
    pub otfp_shield: Option<i32>,
    /// Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp_manifests", skip_serializing_if = "Option::is_none")]
    pub otfp_manifests: Option<i32>,
    /// Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
    #[serde(rename = "video", skip_serializing_if = "Option::is_none")]
    pub video: Option<i32>,
    /// Number of responses with the PCI flag turned on.
    #[serde(rename = "pci", skip_serializing_if = "Option::is_none")]
    pub pci: Option<i32>,
    /// Number of requests received over HTTP/2.
    #[serde(rename = "http2", skip_serializing_if = "Option::is_none")]
    pub http2: Option<i32>,
    /// Number of requests received over HTTP/3.
    #[serde(rename = "http3", skip_serializing_if = "Option::is_none")]
    pub http3: Option<i32>,
    /// Number of restarts performed.
    #[serde(rename = "restarts", skip_serializing_if = "Option::is_none")]
    pub restarts: Option<i32>,
    /// Total header bytes received.
    #[serde(rename = "req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub req_header_bytes: Option<i32>,
    /// Total body bytes received.
    #[serde(rename = "req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub req_body_bytes: Option<i32>,
    /// Total header bytes sent to origin.
    #[serde(rename = "bereq_header_bytes", skip_serializing_if = "Option::is_none")]
    pub bereq_header_bytes: Option<i32>,
    /// Total body bytes sent to origin.
    #[serde(rename = "bereq_body_bytes", skip_serializing_if = "Option::is_none")]
    pub bereq_body_bytes: Option<i32>,
    /// Number of requests that triggered a WAF rule and were blocked.
    #[serde(rename = "waf_blocked", skip_serializing_if = "Option::is_none")]
    pub waf_blocked: Option<i32>,
    /// Number of requests that triggered a WAF rule and were logged.
    #[serde(rename = "waf_logged", skip_serializing_if = "Option::is_none")]
    pub waf_logged: Option<i32>,
    /// Number of requests that triggered a WAF rule and were passed.
    #[serde(rename = "waf_passed", skip_serializing_if = "Option::is_none")]
    pub waf_passed: Option<i32>,
    /// Total header bytes received from requests that triggered a WAF rule.
    #[serde(rename = "attack_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_req_header_bytes: Option<i32>,
    /// Total body bytes received from requests that triggered a WAF rule.
    #[serde(rename = "attack_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_req_body_bytes: Option<i32>,
    /// Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
    #[serde(rename = "attack_resp_synth_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_resp_synth_bytes: Option<i32>,
    /// Total header bytes received from requests that triggered a WAF rule that was logged.
    #[serde(rename = "attack_logged_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_logged_req_header_bytes: Option<i32>,
    /// Total body bytes received from requests that triggered a WAF rule that was logged.
    #[serde(rename = "attack_logged_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_logged_req_body_bytes: Option<i32>,
    /// Total header bytes received from requests that triggered a WAF rule that was blocked.
    #[serde(rename = "attack_blocked_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_blocked_req_header_bytes: Option<i32>,
    /// Total body bytes received from requests that triggered a WAF rule that was blocked.
    #[serde(rename = "attack_blocked_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_blocked_req_body_bytes: Option<i32>,
    /// Total header bytes received from requests that triggered a WAF rule that was passed.
    #[serde(rename = "attack_passed_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_passed_req_header_bytes: Option<i32>,
    /// Total body bytes received from requests that triggered a WAF rule that was passed.
    #[serde(rename = "attack_passed_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub attack_passed_req_body_bytes: Option<i32>,
    /// Total header bytes delivered via a shield.
    #[serde(rename = "shield_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered via a shield.
    #[serde(rename = "shield_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_resp_body_bytes: Option<i32>,
    /// Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub otfp_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub otfp_resp_body_bytes: Option<i32>,
    /// Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp_shield_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub otfp_shield_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
    #[serde(rename = "otfp_shield_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub otfp_shield_resp_body_bytes: Option<i32>,
    /// Total amount of time spent delivering a response via a shield from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
    #[serde(rename = "otfp_shield_time", skip_serializing_if = "Option::is_none")]
    pub otfp_shield_time: Option<f32>,
    /// Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
    #[serde(rename = "otfp_deliver_time", skip_serializing_if = "Option::is_none")]
    pub otfp_deliver_time: Option<f32>,
    /// Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.
    #[serde(rename = "imgopto_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub imgopto_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.
    #[serde(rename = "imgopto_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub imgopto_resp_body_bytes: Option<i32>,
    /// Total header bytes delivered via a shield from the Fastly Image Optimizer service.
    #[serde(rename = "imgopto_shield_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub imgopto_shield_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered via a shield from the Fastly Image Optimizer service.
    #[serde(rename = "imgopto_shield_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub imgopto_shield_resp_body_bytes: Option<i32>,
    /// Number of \"Informational\" category status codes delivered.
    #[serde(rename = "status_1xx", skip_serializing_if = "Option::is_none")]
    pub status_1xx: Option<i32>,
    /// Number of \"Success\" status codes delivered.
    #[serde(rename = "status_2xx", skip_serializing_if = "Option::is_none")]
    pub status_2xx: Option<i32>,
    /// Number of \"Redirection\" codes delivered.
    #[serde(rename = "status_3xx", skip_serializing_if = "Option::is_none")]
    pub status_3xx: Option<i32>,
    /// Number of \"Client Error\" codes delivered.
    #[serde(rename = "status_4xx", skip_serializing_if = "Option::is_none")]
    pub status_4xx: Option<i32>,
    /// Number of \"Server Error\" codes delivered.
    #[serde(rename = "status_5xx", skip_serializing_if = "Option::is_none")]
    pub status_5xx: Option<i32>,
    /// Number of responses sent with status code 200 (Success).
    #[serde(rename = "status_200", skip_serializing_if = "Option::is_none")]
    pub status_200: Option<i32>,
    /// Number of responses sent with status code 204 (No Content).
    #[serde(rename = "status_204", skip_serializing_if = "Option::is_none")]
    pub status_204: Option<i32>,
    /// Number of responses sent with status code 206 (Partial Content).
    #[serde(rename = "status_206", skip_serializing_if = "Option::is_none")]
    pub status_206: Option<i32>,
    /// Number of responses sent with status code 301 (Moved Permanently).
    #[serde(rename = "status_301", skip_serializing_if = "Option::is_none")]
    pub status_301: Option<i32>,
    /// Number of responses sent with status code 302 (Found).
    #[serde(rename = "status_302", skip_serializing_if = "Option::is_none")]
    pub status_302: Option<i32>,
    /// Number of responses sent with status code 304 (Not Modified).
    #[serde(rename = "status_304", skip_serializing_if = "Option::is_none")]
    pub status_304: Option<i32>,
    /// Number of responses sent with status code 400 (Bad Request).
    #[serde(rename = "status_400", skip_serializing_if = "Option::is_none")]
    pub status_400: Option<i32>,
    /// Number of responses sent with status code 401 (Unauthorized).
    #[serde(rename = "status_401", skip_serializing_if = "Option::is_none")]
    pub status_401: Option<i32>,
    /// Number of responses sent with status code 403 (Forbidden).
    #[serde(rename = "status_403", skip_serializing_if = "Option::is_none")]
    pub status_403: Option<i32>,
    /// Number of responses sent with status code 404 (Not Found).
    #[serde(rename = "status_404", skip_serializing_if = "Option::is_none")]
    pub status_404: Option<i32>,
    /// Number of responses sent with status code 406 (Not Acceptable).
    #[serde(rename = "status_406", skip_serializing_if = "Option::is_none")]
    pub status_406: Option<i32>,
    /// Number of responses sent with status code 416 (Range Not Satisfiable).
    #[serde(rename = "status_416", skip_serializing_if = "Option::is_none")]
    pub status_416: Option<i32>,
    /// Number of responses sent with status code 429 (Too Many Requests).
    #[serde(rename = "status_429", skip_serializing_if = "Option::is_none")]
    pub status_429: Option<i32>,
    /// Number of responses sent with status code 500 (Internal Server Error).
    #[serde(rename = "status_500", skip_serializing_if = "Option::is_none")]
    pub status_500: Option<i32>,
    /// Number of responses sent with status code 501 (Not Implemented).
    #[serde(rename = "status_501", skip_serializing_if = "Option::is_none")]
    pub status_501: Option<i32>,
    /// Number of responses sent with status code 502 (Bad Gateway).
    #[serde(rename = "status_502", skip_serializing_if = "Option::is_none")]
    pub status_502: Option<i32>,
    /// Number of responses sent with status code 503 (Service Unavailable).
    #[serde(rename = "status_503", skip_serializing_if = "Option::is_none")]
    pub status_503: Option<i32>,
    /// Number of responses sent with status code 504 (Gateway Timeout).
    #[serde(rename = "status_504", skip_serializing_if = "Option::is_none")]
    pub status_504: Option<i32>,
    /// Number of responses sent with status code 505 (HTTP Version Not Supported).
    #[serde(rename = "status_505", skip_serializing_if = "Option::is_none")]
    pub status_505: Option<i32>,
    /// Number of requests that were designated uncachable.
    #[serde(rename = "uncacheable", skip_serializing_if = "Option::is_none")]
    pub uncacheable: Option<i32>,
    /// Total amount of time spent processing cache passes (in seconds).
    #[serde(rename = "pass_time", skip_serializing_if = "Option::is_none")]
    pub pass_time: Option<f32>,
    /// Number of requests that were received over TLS.
    #[serde(rename = "tls", skip_serializing_if = "Option::is_none")]
    pub tls: Option<i32>,
    /// Number of requests received over TLS 1.0.
    #[serde(rename = "tls_v10", skip_serializing_if = "Option::is_none")]
    pub tls_v10: Option<i32>,
    /// Number of requests received over TLS 1.1.
    #[serde(rename = "tls_v11", skip_serializing_if = "Option::is_none")]
    pub tls_v11: Option<i32>,
    /// Number of requests received over TLS 1.2.
    #[serde(rename = "tls_v12", skip_serializing_if = "Option::is_none")]
    pub tls_v12: Option<i32>,
    /// Number of requests received over TLS 1.3.
    #[serde(rename = "tls_v13", skip_serializing_if = "Option::is_none")]
    pub tls_v13: Option<i32>,
    /// Number of objects served that were under 1KB in size.
    #[serde(rename = "object_size_1k", skip_serializing_if = "Option::is_none")]
    pub object_size_1k: Option<i32>,
    /// Number of objects served that were between 1KB and 10KB in size.
    #[serde(rename = "object_size_10k", skip_serializing_if = "Option::is_none")]
    pub object_size_10k: Option<i32>,
    /// Number of objects served that were between 10KB and 100KB in size.
    #[serde(rename = "object_size_100k", skip_serializing_if = "Option::is_none")]
    pub object_size_100k: Option<i32>,
    /// Number of objects served that were between 100KB and 1MB in size.
    #[serde(rename = "object_size_1m", skip_serializing_if = "Option::is_none")]
    pub object_size_1m: Option<i32>,
    /// Number of objects served that were between 1MB and 10MB in size.
    #[serde(rename = "object_size_10m", skip_serializing_if = "Option::is_none")]
    pub object_size_10m: Option<i32>,
    /// Number of objects served that were between 10MB and 100MB in size.
    #[serde(rename = "object_size_100m", skip_serializing_if = "Option::is_none")]
    pub object_size_100m: Option<i32>,
    /// Number of objects served that were between 100MB and 1GB in size.
    #[serde(rename = "object_size_1g", skip_serializing_if = "Option::is_none")]
    pub object_size_1g: Option<i32>,
    /// Number of objects served that were larger than 1GB in size.
    #[serde(rename = "object_size_other", skip_serializing_if = "Option::is_none")]
    pub object_size_other: Option<i32>,
    /// Time spent inside the `vcl_recv` Varnish subroutine (in nanoseconds).
    #[serde(rename = "recv_sub_time", skip_serializing_if = "Option::is_none")]
    pub recv_sub_time: Option<f32>,
    /// Number of executions of the `vcl_recv` Varnish subroutine.
    #[serde(rename = "recv_sub_count", skip_serializing_if = "Option::is_none")]
    pub recv_sub_count: Option<i32>,
    /// Time spent inside the `vcl_hash` Varnish subroutine (in nanoseconds).
    #[serde(rename = "hash_sub_time", skip_serializing_if = "Option::is_none")]
    pub hash_sub_time: Option<f32>,
    /// Number of executions of the `vcl_hash` Varnish subroutine.
    #[serde(rename = "hash_sub_count", skip_serializing_if = "Option::is_none")]
    pub hash_sub_count: Option<i32>,
    /// Time spent inside the `vcl_miss` Varnish subroutine (in nanoseconds).
    #[serde(rename = "miss_sub_time", skip_serializing_if = "Option::is_none")]
    pub miss_sub_time: Option<f32>,
    /// Number of executions of the `vcl_miss` Varnish subroutine.
    #[serde(rename = "miss_sub_count", skip_serializing_if = "Option::is_none")]
    pub miss_sub_count: Option<i32>,
    /// Time spent inside the `vcl_fetch` Varnish subroutine (in nanoseconds).
    #[serde(rename = "fetch_sub_time", skip_serializing_if = "Option::is_none")]
    pub fetch_sub_time: Option<f32>,
    /// Number of executions of the `vcl_fetch` Varnish subroutine.
    #[serde(rename = "fetch_sub_count", skip_serializing_if = "Option::is_none")]
    pub fetch_sub_count: Option<i32>,
    /// Time spent inside the `vcl_pass` Varnish subroutine (in nanoseconds).
    #[serde(rename = "pass_sub_time", skip_serializing_if = "Option::is_none")]
    pub pass_sub_time: Option<f32>,
    /// Number of executions of the `vcl_pass` Varnish subroutine.
    #[serde(rename = "pass_sub_count", skip_serializing_if = "Option::is_none")]
    pub pass_sub_count: Option<i32>,
    /// Time spent inside the `vcl_pipe` Varnish subroutine (in nanoseconds).
    #[serde(rename = "pipe_sub_time", skip_serializing_if = "Option::is_none")]
    pub pipe_sub_time: Option<f32>,
    /// Number of executions of the `vcl_pipe` Varnish subroutine.
    #[serde(rename = "pipe_sub_count", skip_serializing_if = "Option::is_none")]
    pub pipe_sub_count: Option<i32>,
    /// Time spent inside the `vcl_deliver` Varnish subroutine (in nanoseconds).
    #[serde(rename = "deliver_sub_time", skip_serializing_if = "Option::is_none")]
    pub deliver_sub_time: Option<f32>,
    /// Number of executions of the `vcl_deliver` Varnish subroutine.
    #[serde(rename = "deliver_sub_count", skip_serializing_if = "Option::is_none")]
    pub deliver_sub_count: Option<i32>,
    /// Time spent inside the `vcl_error` Varnish subroutine (in nanoseconds).
    #[serde(rename = "error_sub_time", skip_serializing_if = "Option::is_none")]
    pub error_sub_time: Option<f32>,
    /// Number of executions of the `vcl_error` Varnish subroutine.
    #[serde(rename = "error_sub_count", skip_serializing_if = "Option::is_none")]
    pub error_sub_count: Option<i32>,
    /// Time spent inside the `vcl_hit` Varnish subroutine (in nanoseconds).
    #[serde(rename = "hit_sub_time", skip_serializing_if = "Option::is_none")]
    pub hit_sub_time: Option<f32>,
    /// Number of executions of the `vcl_hit` Varnish subroutine.
    #[serde(rename = "hit_sub_count", skip_serializing_if = "Option::is_none")]
    pub hit_sub_count: Option<i32>,
    /// Time spent inside the `vcl_prehash` Varnish subroutine (in nanoseconds).
    #[serde(rename = "prehash_sub_time", skip_serializing_if = "Option::is_none")]
    pub prehash_sub_time: Option<f32>,
    /// Number of executions of the `vcl_prehash` Varnish subroutine.
    #[serde(rename = "prehash_sub_count", skip_serializing_if = "Option::is_none")]
    pub prehash_sub_count: Option<i32>,
    /// Time spent inside the `vcl_predeliver` Varnish subroutine (in nanoseconds).
    #[serde(rename = "predeliver_sub_time", skip_serializing_if = "Option::is_none")]
    pub predeliver_sub_time: Option<f32>,
    /// Number of executions of the `vcl_predeliver` Varnish subroutine.
    #[serde(rename = "predeliver_sub_count", skip_serializing_if = "Option::is_none")]
    pub predeliver_sub_count: Option<i32>,
    /// Total body bytes delivered for cache hits.
    #[serde(rename = "hit_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub hit_resp_body_bytes: Option<i32>,
    /// Total body bytes delivered for cache misses.
    #[serde(rename = "miss_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub miss_resp_body_bytes: Option<i32>,
    /// Total body bytes delivered for cache passes.
    #[serde(rename = "pass_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub pass_resp_body_bytes: Option<i32>,
    /// Total header bytes received by Compute@Edge.
    #[serde(rename = "compute_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_req_header_bytes: Option<i32>,
    /// Total body bytes received by Compute@Edge.
    #[serde(rename = "compute_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_req_body_bytes: Option<i32>,
    /// Total header bytes sent from Compute@Edge to end user.
    #[serde(rename = "compute_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_resp_header_bytes: Option<i32>,
    /// Total body bytes sent from Compute@Edge to end user.
    #[serde(rename = "compute_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_resp_body_bytes: Option<i32>,
    /// Number of video responses that came from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo", skip_serializing_if = "Option::is_none")]
    pub imgvideo: Option<i32>,
    /// Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
    #[serde(rename = "imgvideo_frames", skip_serializing_if = "Option::is_none")]
    pub imgvideo_frames: Option<i32>,
    /// Total header bytes of video delivered from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub imgvideo_resp_header_bytes: Option<i32>,
    /// Total body bytes of video delivered from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub imgvideo_resp_body_bytes: Option<i32>,
    /// Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo_shield", skip_serializing_if = "Option::is_none")]
    pub imgvideo_shield: Option<i32>,
    /// Number of video frames delivered via a shield that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
    #[serde(rename = "imgvideo_shield_frames", skip_serializing_if = "Option::is_none")]
    pub imgvideo_shield_frames: Option<i32>,
    /// Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo_shield_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub imgvideo_shield_resp_header_bytes: Option<i32>,
    /// Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.
    #[serde(rename = "imgvideo_shield_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub imgvideo_shield_resp_body_bytes: Option<i32>,
    /// Total log bytes sent.
    #[serde(rename = "log_bytes", skip_serializing_if = "Option::is_none")]
    pub log_bytes: Option<i32>,
    /// Number of requests sent by end users to Fastly.
    #[serde(rename = "edge_requests", skip_serializing_if = "Option::is_none")]
    pub edge_requests: Option<i32>,
    /// Total header bytes delivered from Fastly to the end user.
    #[serde(rename = "edge_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_resp_header_bytes: Option<i32>,
    /// Total body bytes delivered from Fastly to the end user.
    #[serde(rename = "edge_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_resp_body_bytes: Option<i32>,
    /// Number of responses received from origin with a `304` status code in response to an `If-Modified-Since` or `If-None-Match` request. Under regular scenarios, a revalidation will imply a cache hit. However, if using Fastly Image Optimizer or segmented caching this may result in a cache miss.
    #[serde(rename = "origin_revalidations", skip_serializing_if = "Option::is_none")]
    pub origin_revalidations: Option<i32>,
    /// Number of requests sent to origin.
    #[serde(rename = "origin_fetches", skip_serializing_if = "Option::is_none")]
    pub origin_fetches: Option<i32>,
    /// Total request header bytes sent to origin.
    #[serde(rename = "origin_fetch_header_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_fetch_header_bytes: Option<i32>,
    /// Total request body bytes sent to origin.
    #[serde(rename = "origin_fetch_body_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_fetch_body_bytes: Option<i32>,
    /// Total header bytes received from origin.
    #[serde(rename = "origin_fetch_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_fetch_resp_header_bytes: Option<i32>,
    /// Total body bytes received from origin.
    #[serde(rename = "origin_fetch_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_fetch_resp_body_bytes: Option<i32>,
    /// Number of responses received from origin with a `304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield. Under regular scenarios, a revalidation will imply a cache hit. However, if using segmented caching this may result in a cache miss.
    #[serde(rename = "shield_revalidations", skip_serializing_if = "Option::is_none")]
    pub shield_revalidations: Option<i32>,
    /// Number of requests made from one Fastly POP to another, as part of shielding.
    #[serde(rename = "shield_fetches", skip_serializing_if = "Option::is_none")]
    pub shield_fetches: Option<i32>,
    /// Total request header bytes sent to a shield.
    #[serde(rename = "shield_fetch_header_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_fetch_header_bytes: Option<i32>,
    /// Total request body bytes sent to a shield.
    #[serde(rename = "shield_fetch_body_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_fetch_body_bytes: Option<i32>,
    /// Total response header bytes sent from a shield to the edge.
    #[serde(rename = "shield_fetch_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_fetch_resp_header_bytes: Option<i32>,
    /// Total response body bytes sent from a shield to the edge.
    #[serde(rename = "shield_fetch_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_fetch_resp_body_bytes: Option<i32>,
    /// Number of `Range` requests to origin for segments of resources when using segmented caching.
    #[serde(rename = "segblock_origin_fetches", skip_serializing_if = "Option::is_none")]
    pub segblock_origin_fetches: Option<i32>,
    /// Number of `Range` requests to a shield for segments of resources when using segmented caching.
    #[serde(rename = "segblock_shield_fetches", skip_serializing_if = "Option::is_none")]
    pub segblock_shield_fetches: Option<i32>,
    /// Number of \"Informational\" category status codes delivered by Compute@Edge.
    #[serde(rename = "compute_resp_status_1xx", skip_serializing_if = "Option::is_none")]
    pub compute_resp_status_1xx: Option<i32>,
    /// Number of \"Success\" category status codes delivered by Compute@Edge.
    #[serde(rename = "compute_resp_status_2xx", skip_serializing_if = "Option::is_none")]
    pub compute_resp_status_2xx: Option<i32>,
    /// Number of \"Redirection\" category status codes delivered by Compute@Edge.
    #[serde(rename = "compute_resp_status_3xx", skip_serializing_if = "Option::is_none")]
    pub compute_resp_status_3xx: Option<i32>,
    /// Number of \"Client Error\" category status codes delivered by Compute@Edge.
    #[serde(rename = "compute_resp_status_4xx", skip_serializing_if = "Option::is_none")]
    pub compute_resp_status_4xx: Option<i32>,
    /// Number of \"Server Error\" category status codes delivered by Compute@Edge.
    #[serde(rename = "compute_resp_status_5xx", skip_serializing_if = "Option::is_none")]
    pub compute_resp_status_5xx: Option<i32>,
    /// Number of requests sent by end users to Fastly that resulted in a hit at the edge.
    #[serde(rename = "edge_hit_requests", skip_serializing_if = "Option::is_none")]
    pub edge_hit_requests: Option<i32>,
    /// Number of requests sent by end users to Fastly that resulted in a miss at the edge.
    #[serde(rename = "edge_miss_requests", skip_serializing_if = "Option::is_none")]
    pub edge_miss_requests: Option<i32>,
    /// Total header bytes sent to backends (origins) by Compute@Edge.
    #[serde(rename = "compute_bereq_header_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_bereq_header_bytes: Option<i32>,
    /// Total body bytes sent to backends (origins) by Compute@Edge.
    #[serde(rename = "compute_bereq_body_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_bereq_body_bytes: Option<i32>,
    /// Total header bytes received from backends (origins) by Compute@Edge.
    #[serde(rename = "compute_beresp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_beresp_header_bytes: Option<i32>,
    /// Total body bytes received from backends (origins) by Compute@Edge.
    #[serde(rename = "compute_beresp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub compute_beresp_body_bytes: Option<i32>,
    /// The total number of completed requests made to backends (origins) that returned cacheable content.
    #[serde(rename = "origin_cache_fetches", skip_serializing_if = "Option::is_none")]
    pub origin_cache_fetches: Option<i32>,
    /// The total number of completed requests made to shields that returned cacheable content.
    #[serde(rename = "shield_cache_fetches", skip_serializing_if = "Option::is_none")]
    pub shield_cache_fetches: Option<i32>,
    /// Number of backend requests started.
    #[serde(rename = "compute_bereqs", skip_serializing_if = "Option::is_none")]
    pub compute_bereqs: Option<i32>,
    /// Number of backend request errors, including timeouts.
    #[serde(rename = "compute_bereq_errors", skip_serializing_if = "Option::is_none")]
    pub compute_bereq_errors: Option<i32>,
    /// Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
    #[serde(rename = "compute_resource_limit_exceeded", skip_serializing_if = "Option::is_none")]
    pub compute_resource_limit_exceeded: Option<i32>,
    /// Number of times a guest exceeded its heap limit.
    #[serde(rename = "compute_heap_limit_exceeded", skip_serializing_if = "Option::is_none")]
    pub compute_heap_limit_exceeded: Option<i32>,
    /// Number of times a guest exceeded its stack limit.
    #[serde(rename = "compute_stack_limit_exceeded", skip_serializing_if = "Option::is_none")]
    pub compute_stack_limit_exceeded: Option<i32>,
    /// Number of times a guest exceeded its globals limit.
    #[serde(rename = "compute_globals_limit_exceeded", skip_serializing_if = "Option::is_none")]
    pub compute_globals_limit_exceeded: Option<i32>,
    /// Number of times a service experienced a guest code error.
    #[serde(rename = "compute_guest_errors", skip_serializing_if = "Option::is_none")]
    pub compute_guest_errors: Option<i32>,
    /// Number of times a service experienced a guest runtime error.
    #[serde(rename = "compute_runtime_errors", skip_serializing_if = "Option::is_none")]
    pub compute_runtime_errors: Option<i32>,
    /// Body bytes delivered for edge hits.
    #[serde(rename = "edge_hit_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_hit_resp_body_bytes: Option<i32>,
    /// Header bytes delivered for edge hits.
    #[serde(rename = "edge_hit_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_hit_resp_header_bytes: Option<i32>,
    /// Body bytes delivered for edge misses.
    #[serde(rename = "edge_miss_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_miss_resp_body_bytes: Option<i32>,
    /// Header bytes delivered for edge misses.
    #[serde(rename = "edge_miss_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub edge_miss_resp_header_bytes: Option<i32>,
    /// Body bytes received from origin for cacheable content.
    #[serde(rename = "origin_cache_fetch_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_cache_fetch_resp_body_bytes: Option<i32>,
    /// Header bytes received from an origin for cacheable content.
    #[serde(rename = "origin_cache_fetch_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub origin_cache_fetch_resp_header_bytes: Option<i32>,
    /// Number of requests that resulted in a hit at a shield.
    #[serde(rename = "shield_hit_requests", skip_serializing_if = "Option::is_none")]
    pub shield_hit_requests: Option<i32>,
    /// Number of requests that resulted in a miss at a shield.
    #[serde(rename = "shield_miss_requests", skip_serializing_if = "Option::is_none")]
    pub shield_miss_requests: Option<i32>,
    /// Header bytes delivered for shield hits.
    #[serde(rename = "shield_hit_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_hit_resp_header_bytes: Option<i32>,
    /// Body bytes delivered for shield hits.
    #[serde(rename = "shield_hit_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_hit_resp_body_bytes: Option<i32>,
    /// Header bytes delivered for shield misses.
    #[serde(rename = "shield_miss_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_miss_resp_header_bytes: Option<i32>,
    /// Body bytes delivered for shield misses.
    #[serde(rename = "shield_miss_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub shield_miss_resp_body_bytes: Option<i32>,
    /// Total header bytes received from end users over passthrough WebSocket connections.
    #[serde(rename = "websocket_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_req_header_bytes: Option<i32>,
    /// Total message content bytes received from end users over passthrough WebSocket connections.
    #[serde(rename = "websocket_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_req_body_bytes: Option<i32>,
    /// Total header bytes sent to end users over passthrough WebSocket connections.
    #[serde(rename = "websocket_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_resp_header_bytes: Option<i32>,
    /// Total header bytes sent to backends over passthrough WebSocket connections.
    #[serde(rename = "websocket_bereq_header_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_bereq_header_bytes: Option<i32>,
    /// Total message content bytes sent to backends over passthrough WebSocket connections.
    #[serde(rename = "websocket_bereq_body_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_bereq_body_bytes: Option<i32>,
    /// Total header bytes received from backends over passthrough WebSocket connections.
    #[serde(rename = "websocket_beresp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_beresp_header_bytes: Option<i32>,
    /// Total message content bytes received from backends over passthrough WebSocket connections.
    #[serde(rename = "websocket_beresp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_beresp_body_bytes: Option<i32>,
    /// Total duration of passthrough WebSocket connections with end users.
    #[serde(rename = "websocket_conn_time_ms", skip_serializing_if = "Option::is_none")]
    pub websocket_conn_time_ms: Option<i32>,
    /// Total message content bytes sent to end users over passthrough WebSocket connections.
    #[serde(rename = "websocket_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub websocket_resp_body_bytes: Option<i32>,
    /// Total published messages received from the publish API endpoint.
    #[serde(rename = "fanout_recv_publishes", skip_serializing_if = "Option::is_none")]
    pub fanout_recv_publishes: Option<i32>,
    /// Total published messages sent to end users.
    #[serde(rename = "fanout_send_publishes", skip_serializing_if = "Option::is_none")]
    pub fanout_send_publishes: Option<i32>,
    /// The total number of class a operations for the KV store.
    #[serde(rename = "kv_store_class_a_operations", skip_serializing_if = "Option::is_none")]
    pub kv_store_class_a_operations: Option<i32>,
    /// The total number of class b operations for the KV store.
    #[serde(rename = "kv_store_class_b_operations", skip_serializing_if = "Option::is_none")]
    pub kv_store_class_b_operations: Option<i32>,
    /// Use kv_store_class_a_operations.
    #[serde(rename = "object_store_class_a_operations", skip_serializing_if = "Option::is_none")]
    pub object_store_class_a_operations: Option<i32>,
    /// Use kv_store_class_b_operations.
    #[serde(rename = "object_store_class_b_operations", skip_serializing_if = "Option::is_none")]
    pub object_store_class_b_operations: Option<i32>,
    /// Total header bytes received from end users over Fanout connections.
    #[serde(rename = "fanout_req_header_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_req_header_bytes: Option<i32>,
    /// Total body or message content bytes received from end users over Fanout connections.
    #[serde(rename = "fanout_req_body_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_req_body_bytes: Option<i32>,
    /// Total header bytes sent to end users over Fanout connections.
    #[serde(rename = "fanout_resp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_resp_header_bytes: Option<i32>,
    /// Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
    #[serde(rename = "fanout_resp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_resp_body_bytes: Option<i32>,
    /// Total header bytes sent to backends over Fanout connections.
    #[serde(rename = "fanout_bereq_header_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_bereq_header_bytes: Option<i32>,
    /// Total body or message content bytes sent to backends over Fanout connections.
    #[serde(rename = "fanout_bereq_body_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_bereq_body_bytes: Option<i32>,
    /// Total header bytes received from backends over Fanout connections.
    #[serde(rename = "fanout_beresp_header_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_beresp_header_bytes: Option<i32>,
    /// Total body or message content bytes received from backends over Fanout connections.
    #[serde(rename = "fanout_beresp_body_bytes", skip_serializing_if = "Option::is_none")]
    pub fanout_beresp_body_bytes: Option<i32>,
    /// Total duration of Fanout connections with end users.
    #[serde(rename = "fanout_conn_time_ms", skip_serializing_if = "Option::is_none")]
    pub fanout_conn_time_ms: Option<i32>,
    /// For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection.
    #[serde(rename = "ddos_action_limit_streams_connections", skip_serializing_if = "Option::is_none")]
    pub ddos_action_limit_streams_connections: Option<i32>,
    /// For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection.
    #[serde(rename = "ddos_action_limit_streams_requests", skip_serializing_if = "Option::is_none")]
    pub ddos_action_limit_streams_requests: Option<i32>,
    /// The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
    #[serde(rename = "ddos_action_tarpit_accept", skip_serializing_if = "Option::is_none")]
    pub ddos_action_tarpit_accept: Option<i32>,
    /// The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
    #[serde(rename = "ddos_action_tarpit", skip_serializing_if = "Option::is_none")]
    pub ddos_action_tarpit: Option<i32>,
    /// The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent.
    #[serde(rename = "ddos_action_close", skip_serializing_if = "Option::is_none")]
    pub ddos_action_close: Option<i32>,
    /// The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
    #[serde(rename = "ddos_action_blackhole", skip_serializing_if = "Option::is_none")]
    pub ddos_action_blackhole: Option<i32>,
}

impl RealtimeMeasurements {
    /// Statistics that have occurred since the last request.
    pub fn new() -> RealtimeMeasurements {
        RealtimeMeasurements {
            requests: None,
            logging: None,
            log: None,
            resp_header_bytes: None,
            header_size: None,
            resp_body_bytes: None,
            body_size: None,
            hits: None,
            miss: None,
            pass: None,
            synth: None,
            errors: None,
            hits_time: None,
            miss_time: None,
            miss_histogram: None,
            compute_requests: None,
            compute_execution_time_ms: None,
            compute_ram_used: None,
            compute_request_time_ms: None,
            compute_request_time_billed_ms: None,
            shield: None,
            ipv6: None,
            imgopto: None,
            imgopto_shield: None,
            imgopto_transforms: None,
            otfp: None,
            otfp_shield: None,
            otfp_manifests: None,
            video: None,
            pci: None,
            http2: None,
            http3: None,
            restarts: None,
            req_header_bytes: None,
            req_body_bytes: None,
            bereq_header_bytes: None,
            bereq_body_bytes: None,
            waf_blocked: None,
            waf_logged: None,
            waf_passed: None,
            attack_req_header_bytes: None,
            attack_req_body_bytes: None,
            attack_resp_synth_bytes: None,
            attack_logged_req_header_bytes: None,
            attack_logged_req_body_bytes: None,
            attack_blocked_req_header_bytes: None,
            attack_blocked_req_body_bytes: None,
            attack_passed_req_header_bytes: None,
            attack_passed_req_body_bytes: None,
            shield_resp_header_bytes: None,
            shield_resp_body_bytes: None,
            otfp_resp_header_bytes: None,
            otfp_resp_body_bytes: None,
            otfp_shield_resp_header_bytes: None,
            otfp_shield_resp_body_bytes: None,
            otfp_shield_time: None,
            otfp_deliver_time: None,
            imgopto_resp_header_bytes: None,
            imgopto_resp_body_bytes: None,
            imgopto_shield_resp_header_bytes: None,
            imgopto_shield_resp_body_bytes: None,
            status_1xx: None,
            status_2xx: None,
            status_3xx: None,
            status_4xx: None,
            status_5xx: None,
            status_200: None,
            status_204: None,
            status_206: None,
            status_301: None,
            status_302: None,
            status_304: None,
            status_400: None,
            status_401: None,
            status_403: None,
            status_404: None,
            status_406: None,
            status_416: None,
            status_429: None,
            status_500: None,
            status_501: None,
            status_502: None,
            status_503: None,
            status_504: None,
            status_505: None,
            uncacheable: None,
            pass_time: None,
            tls: None,
            tls_v10: None,
            tls_v11: None,
            tls_v12: None,
            tls_v13: None,
            object_size_1k: None,
            object_size_10k: None,
            object_size_100k: None,
            object_size_1m: None,
            object_size_10m: None,
            object_size_100m: None,
            object_size_1g: None,
            object_size_other: None,
            recv_sub_time: None,
            recv_sub_count: None,
            hash_sub_time: None,
            hash_sub_count: None,
            miss_sub_time: None,
            miss_sub_count: None,
            fetch_sub_time: None,
            fetch_sub_count: None,
            pass_sub_time: None,
            pass_sub_count: None,
            pipe_sub_time: None,
            pipe_sub_count: None,
            deliver_sub_time: None,
            deliver_sub_count: None,
            error_sub_time: None,
            error_sub_count: None,
            hit_sub_time: None,
            hit_sub_count: None,
            prehash_sub_time: None,
            prehash_sub_count: None,
            predeliver_sub_time: None,
            predeliver_sub_count: None,
            hit_resp_body_bytes: None,
            miss_resp_body_bytes: None,
            pass_resp_body_bytes: None,
            compute_req_header_bytes: None,
            compute_req_body_bytes: None,
            compute_resp_header_bytes: None,
            compute_resp_body_bytes: None,
            imgvideo: None,
            imgvideo_frames: None,
            imgvideo_resp_header_bytes: None,
            imgvideo_resp_body_bytes: None,
            imgvideo_shield: None,
            imgvideo_shield_frames: None,
            imgvideo_shield_resp_header_bytes: None,
            imgvideo_shield_resp_body_bytes: None,
            log_bytes: None,
            edge_requests: None,
            edge_resp_header_bytes: None,
            edge_resp_body_bytes: None,
            origin_revalidations: None,
            origin_fetches: None,
            origin_fetch_header_bytes: None,
            origin_fetch_body_bytes: None,
            origin_fetch_resp_header_bytes: None,
            origin_fetch_resp_body_bytes: None,
            shield_revalidations: None,
            shield_fetches: None,
            shield_fetch_header_bytes: None,
            shield_fetch_body_bytes: None,
            shield_fetch_resp_header_bytes: None,
            shield_fetch_resp_body_bytes: None,
            segblock_origin_fetches: None,
            segblock_shield_fetches: None,
            compute_resp_status_1xx: None,
            compute_resp_status_2xx: None,
            compute_resp_status_3xx: None,
            compute_resp_status_4xx: None,
            compute_resp_status_5xx: None,
            edge_hit_requests: None,
            edge_miss_requests: None,
            compute_bereq_header_bytes: None,
            compute_bereq_body_bytes: None,
            compute_beresp_header_bytes: None,
            compute_beresp_body_bytes: None,
            origin_cache_fetches: None,
            shield_cache_fetches: None,
            compute_bereqs: None,
            compute_bereq_errors: None,
            compute_resource_limit_exceeded: None,
            compute_heap_limit_exceeded: None,
            compute_stack_limit_exceeded: None,
            compute_globals_limit_exceeded: None,
            compute_guest_errors: None,
            compute_runtime_errors: None,
            edge_hit_resp_body_bytes: None,
            edge_hit_resp_header_bytes: None,
            edge_miss_resp_body_bytes: None,
            edge_miss_resp_header_bytes: None,
            origin_cache_fetch_resp_body_bytes: None,
            origin_cache_fetch_resp_header_bytes: None,
            shield_hit_requests: None,
            shield_miss_requests: None,
            shield_hit_resp_header_bytes: None,
            shield_hit_resp_body_bytes: None,
            shield_miss_resp_header_bytes: None,
            shield_miss_resp_body_bytes: None,
            websocket_req_header_bytes: None,
            websocket_req_body_bytes: None,
            websocket_resp_header_bytes: None,
            websocket_bereq_header_bytes: None,
            websocket_bereq_body_bytes: None,
            websocket_beresp_header_bytes: None,
            websocket_beresp_body_bytes: None,
            websocket_conn_time_ms: None,
            websocket_resp_body_bytes: None,
            fanout_recv_publishes: None,
            fanout_send_publishes: None,
            kv_store_class_a_operations: None,
            kv_store_class_b_operations: None,
            object_store_class_a_operations: None,
            object_store_class_b_operations: None,
            fanout_req_header_bytes: None,
            fanout_req_body_bytes: None,
            fanout_resp_header_bytes: None,
            fanout_resp_body_bytes: None,
            fanout_bereq_header_bytes: None,
            fanout_bereq_body_bytes: None,
            fanout_beresp_header_bytes: None,
            fanout_beresp_body_bytes: None,
            fanout_conn_time_ms: None,
            ddos_action_limit_streams_connections: None,
            ddos_action_limit_streams_requests: None,
            ddos_action_tarpit_accept: None,
            ddos_action_tarpit: None,
            ddos_action_close: None,
            ddos_action_blackhole: None,
        }
    }
}