lib/fastly/models/realtime_measurements.rb in fastly-8.1.0 vs lib/fastly/models/realtime_measurements.rb in fastly-8.2.0

- old
+ new

@@ -54,11 +54,11 @@ attr_accessor :hits_time # Total amount of time spent processing cache misses (in seconds). attr_accessor :miss_time - # 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. + # A histogram. The value in each bucket is the number of requests to the origin whose responses arrived during the time period represented by the bucket. The key of each bucket represents the upper bound (in response time) of that bucket. The buckets vary in width and cover the time periods 0-10ms (in 1ms increments), 10-250ms (in 10ms increments), 250-1,000ms (in 50ms increments), 1,000-3,000ms (in 100ms increments), 3,000-10,000ms (in 500 ms increments), 10,000-20,000ms (in 1,000ms increments), 20,000-60,000ms (in 5,000ms increments), and 60,000ms through infinity (in a single bucket). attr_accessor :miss_histogram # The total number of requests that were received for your service by Fastly. attr_accessor :compute_requests @@ -693,10 +693,73 @@ attr_accessor :bot_challenges_failed # The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. attr_accessor :bot_challenge_complete_tokens_issued + # The number of times the downgrade action was taken. The downgrade action restricts the client to http1. + attr_accessor :ddos_action_downgrade + + # The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. + attr_accessor :ddos_action_downgraded_connections + + # Number of cache hits for a VCL service running on Compute. + attr_accessor :vcl_on_compute_hit_requests + + # Number of cache misses for a VCL service running on Compute. + attr_accessor :vcl_on_compute_miss_requests + + # Number of requests that passed through the CDN without being cached for a VCL service running on Compute. + attr_accessor :vcl_on_compute_pass_requests + + # Number of cache errors for a VCL service running on Compute. + attr_accessor :vcl_on_compute_error_requests + + # Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. + attr_accessor :vcl_on_compute_synth_requests + + # Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. + attr_accessor :vcl_on_compute_edge_hit_requests + + # Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. + attr_accessor :vcl_on_compute_edge_miss_requests + + # Number of cache hits for a VCL service. + attr_accessor :all_hit_requests + + # Number of cache misses for a VCL service. + attr_accessor :all_miss_requests + + # Number of requests that passed through the CDN without being cached for a VCL service. + attr_accessor :all_pass_requests + + # Number of cache errors for a VCL service. + attr_accessor :all_error_requests + + # Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. + attr_accessor :all_synth_requests + + # Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. + attr_accessor :all_edge_hit_requests + + # Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. + attr_accessor :all_edge_miss_requests + + # Number of \"Informational\" category status codes delivered for all sources. + attr_accessor :all_status_1xx + + # Number of \"Success\" status codes delivered for all sources. + attr_accessor :all_status_2xx + + # Number of \"Redirection\" codes delivered for all sources. + attr_accessor :all_status_3xx + + # Number of \"Client Error\" codes delivered for all sources. + attr_accessor :all_status_4xx + + # Number of \"Server Error\" codes delivered for all sources. + attr_accessor :all_status_5xx + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'requests' => :'requests', :'logging' => :'logging', @@ -922,11 +985,32 @@ :'bot_challenge_complete_tokens_checked' => :'bot_challenge_complete_tokens_checked', :'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled', :'bot_challenges_issued' => :'bot_challenges_issued', :'bot_challenges_succeeded' => :'bot_challenges_succeeded', :'bot_challenges_failed' => :'bot_challenges_failed', - :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued' + :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued', + :'ddos_action_downgrade' => :'ddos_action_downgrade', + :'ddos_action_downgraded_connections' => :'ddos_action_downgraded_connections', + :'vcl_on_compute_hit_requests' => :'vcl_on_compute_hit_requests', + :'vcl_on_compute_miss_requests' => :'vcl_on_compute_miss_requests', + :'vcl_on_compute_pass_requests' => :'vcl_on_compute_pass_requests', + :'vcl_on_compute_error_requests' => :'vcl_on_compute_error_requests', + :'vcl_on_compute_synth_requests' => :'vcl_on_compute_synth_requests', + :'vcl_on_compute_edge_hit_requests' => :'vcl_on_compute_edge_hit_requests', + :'vcl_on_compute_edge_miss_requests' => :'vcl_on_compute_edge_miss_requests', + :'all_hit_requests' => :'all_hit_requests', + :'all_miss_requests' => :'all_miss_requests', + :'all_pass_requests' => :'all_pass_requests', + :'all_error_requests' => :'all_error_requests', + :'all_synth_requests' => :'all_synth_requests', + :'all_edge_hit_requests' => :'all_edge_hit_requests', + :'all_edge_miss_requests' => :'all_edge_miss_requests', + :'all_status_1xx' => :'all_status_1xx', + :'all_status_2xx' => :'all_status_2xx', + :'all_status_3xx' => :'all_status_3xx', + :'all_status_4xx' => :'all_status_4xx', + :'all_status_5xx' => :'all_status_5xx' } end # Returns all the JSON keys this model knows about def self.acceptable_attributes @@ -1160,11 +1244,32 @@ :'bot_challenge_complete_tokens_checked' => :'Integer', :'bot_challenge_complete_tokens_disabled' => :'Integer', :'bot_challenges_issued' => :'Integer', :'bot_challenges_succeeded' => :'Integer', :'bot_challenges_failed' => :'Integer', - :'bot_challenge_complete_tokens_issued' => :'Integer' + :'bot_challenge_complete_tokens_issued' => :'Integer', + :'ddos_action_downgrade' => :'Integer', + :'ddos_action_downgraded_connections' => :'Integer', + :'vcl_on_compute_hit_requests' => :'Integer', + :'vcl_on_compute_miss_requests' => :'Integer', + :'vcl_on_compute_pass_requests' => :'Integer', + :'vcl_on_compute_error_requests' => :'Integer', + :'vcl_on_compute_synth_requests' => :'Integer', + :'vcl_on_compute_edge_hit_requests' => :'Integer', + :'vcl_on_compute_edge_miss_requests' => :'Integer', + :'all_hit_requests' => :'Integer', + :'all_miss_requests' => :'Integer', + :'all_pass_requests' => :'Integer', + :'all_error_requests' => :'Integer', + :'all_synth_requests' => :'Integer', + :'all_edge_hit_requests' => :'Integer', + :'all_edge_miss_requests' => :'Integer', + :'all_status_1xx' => :'Integer', + :'all_status_2xx' => :'Integer', + :'all_status_3xx' => :'Integer', + :'all_status_4xx' => :'Integer', + :'all_status_5xx' => :'Integer' } end # List of attributes with nullable: true def self.fastly_nullable @@ -2094,10 +2199,94 @@ end if attributes.key?(:'bot_challenge_complete_tokens_issued') self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued'] end + + if attributes.key?(:'ddos_action_downgrade') + self.ddos_action_downgrade = attributes[:'ddos_action_downgrade'] + end + + if attributes.key?(:'ddos_action_downgraded_connections') + self.ddos_action_downgraded_connections = attributes[:'ddos_action_downgraded_connections'] + end + + if attributes.key?(:'vcl_on_compute_hit_requests') + self.vcl_on_compute_hit_requests = attributes[:'vcl_on_compute_hit_requests'] + end + + if attributes.key?(:'vcl_on_compute_miss_requests') + self.vcl_on_compute_miss_requests = attributes[:'vcl_on_compute_miss_requests'] + end + + if attributes.key?(:'vcl_on_compute_pass_requests') + self.vcl_on_compute_pass_requests = attributes[:'vcl_on_compute_pass_requests'] + end + + if attributes.key?(:'vcl_on_compute_error_requests') + self.vcl_on_compute_error_requests = attributes[:'vcl_on_compute_error_requests'] + end + + if attributes.key?(:'vcl_on_compute_synth_requests') + self.vcl_on_compute_synth_requests = attributes[:'vcl_on_compute_synth_requests'] + end + + if attributes.key?(:'vcl_on_compute_edge_hit_requests') + self.vcl_on_compute_edge_hit_requests = attributes[:'vcl_on_compute_edge_hit_requests'] + end + + if attributes.key?(:'vcl_on_compute_edge_miss_requests') + self.vcl_on_compute_edge_miss_requests = attributes[:'vcl_on_compute_edge_miss_requests'] + end + + if attributes.key?(:'all_hit_requests') + self.all_hit_requests = attributes[:'all_hit_requests'] + end + + if attributes.key?(:'all_miss_requests') + self.all_miss_requests = attributes[:'all_miss_requests'] + end + + if attributes.key?(:'all_pass_requests') + self.all_pass_requests = attributes[:'all_pass_requests'] + end + + if attributes.key?(:'all_error_requests') + self.all_error_requests = attributes[:'all_error_requests'] + end + + if attributes.key?(:'all_synth_requests') + self.all_synth_requests = attributes[:'all_synth_requests'] + end + + if attributes.key?(:'all_edge_hit_requests') + self.all_edge_hit_requests = attributes[:'all_edge_hit_requests'] + end + + if attributes.key?(:'all_edge_miss_requests') + self.all_edge_miss_requests = attributes[:'all_edge_miss_requests'] + end + + if attributes.key?(:'all_status_1xx') + self.all_status_1xx = attributes[:'all_status_1xx'] + end + + if attributes.key?(:'all_status_2xx') + self.all_status_2xx = attributes[:'all_status_2xx'] + end + + if attributes.key?(:'all_status_3xx') + self.all_status_3xx = attributes[:'all_status_3xx'] + end + + if attributes.key?(:'all_status_4xx') + self.all_status_4xx = attributes[:'all_status_4xx'] + end + + if attributes.key?(:'all_status_5xx') + self.all_status_5xx = attributes[:'all_status_5xx'] + end end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties @@ -2340,11 +2529,32 @@ bot_challenge_complete_tokens_checked == o.bot_challenge_complete_tokens_checked && bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled && bot_challenges_issued == o.bot_challenges_issued && bot_challenges_succeeded == o.bot_challenges_succeeded && bot_challenges_failed == o.bot_challenges_failed && - bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued + bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued && + ddos_action_downgrade == o.ddos_action_downgrade && + ddos_action_downgraded_connections == o.ddos_action_downgraded_connections && + vcl_on_compute_hit_requests == o.vcl_on_compute_hit_requests && + vcl_on_compute_miss_requests == o.vcl_on_compute_miss_requests && + vcl_on_compute_pass_requests == o.vcl_on_compute_pass_requests && + vcl_on_compute_error_requests == o.vcl_on_compute_error_requests && + vcl_on_compute_synth_requests == o.vcl_on_compute_synth_requests && + vcl_on_compute_edge_hit_requests == o.vcl_on_compute_edge_hit_requests && + vcl_on_compute_edge_miss_requests == o.vcl_on_compute_edge_miss_requests && + all_hit_requests == o.all_hit_requests && + all_miss_requests == o.all_miss_requests && + all_pass_requests == o.all_pass_requests && + all_error_requests == o.all_error_requests && + all_synth_requests == o.all_synth_requests && + all_edge_hit_requests == o.all_edge_hit_requests && + all_edge_miss_requests == o.all_edge_miss_requests && + all_status_1xx == o.all_status_1xx && + all_status_2xx == o.all_status_2xx && + all_status_3xx == o.all_status_3xx && + all_status_4xx == o.all_status_4xx && + all_status_5xx == o.all_status_5xx end # @see the `==` method # @param [Object] Object to be compared def eql?(o) @@ -2352,10 +2562,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued].hash + [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself