DomainInspectorMeasurements

Struct DomainInspectorMeasurements 

Source
pub struct DomainInspectorMeasurements {
Show 64 fields pub edge_requests: Option<i64>, pub edge_resp_header_bytes: Option<i64>, pub edge_resp_body_bytes: Option<i64>, pub status_1xx: Option<i64>, pub status_2xx: Option<i64>, pub status_3xx: Option<i64>, pub status_4xx: Option<i64>, pub status_5xx: Option<i64>, pub status_200: Option<i64>, pub status_204: Option<i64>, pub status_206: Option<i64>, pub status_301: Option<i64>, pub status_302: Option<i64>, pub status_304: Option<i64>, pub status_400: Option<i64>, pub status_401: Option<i64>, pub status_403: Option<i64>, pub status_404: Option<i64>, pub status_416: Option<i64>, pub status_429: Option<i64>, pub status_500: Option<i64>, pub status_501: Option<i64>, pub status_502: Option<i64>, pub status_503: Option<i64>, pub status_504: Option<i64>, pub status_505: Option<i64>, pub status_530: Option<i64>, pub requests: Option<i64>, pub resp_header_bytes: Option<i64>, pub resp_body_bytes: Option<i64>, pub bereq_header_bytes: Option<i64>, pub bereq_body_bytes: Option<i64>, pub edge_hit_requests: Option<i64>, pub edge_miss_requests: Option<i64>, pub origin_fetches: Option<i64>, pub origin_fetch_resp_header_bytes: Option<i64>, pub origin_fetch_resp_body_bytes: Option<i64>, pub bandwidth: Option<i64>, pub edge_hit_ratio: Option<f32>, pub origin_offload: Option<f32>, pub origin_status_200: Option<i64>, pub origin_status_204: Option<i64>, pub origin_status_206: Option<i64>, pub origin_status_301: Option<i64>, pub origin_status_302: Option<i64>, pub origin_status_304: Option<i64>, pub origin_status_400: Option<i64>, pub origin_status_401: Option<i64>, pub origin_status_403: Option<i64>, pub origin_status_404: Option<i64>, pub origin_status_416: Option<i64>, pub origin_status_429: Option<i64>, pub origin_status_500: Option<i64>, pub origin_status_501: Option<i64>, pub origin_status_502: Option<i64>, pub origin_status_503: Option<i64>, pub origin_status_504: Option<i64>, pub origin_status_505: Option<i64>, pub origin_status_530: Option<i64>, pub origin_status_1xx: Option<i64>, pub origin_status_2xx: Option<i64>, pub origin_status_3xx: Option<i64>, pub origin_status_4xx: Option<i64>, pub origin_status_5xx: Option<i64>,
}
Expand description

DomainInspectorMeasurements : A measurements object provides a count of the total number of requests received by Fastly for your domain in the reported time period and for the relevant POP, as specified in the entry. It also includes the number of responses for specific HTTP response status codes and for status code ranges. This dataset is sparse: only the keys with non-zero values will be included in the record. Where a specific status code does not have a field in this model (e.g., 429 Too Many Requests), any responses with that code will be counted as part of the range count (4xx in this case) but will not be separately identified in the data.

Fields§

§edge_requests: Option<i64>

Number of requests sent by end users to Fastly.

§edge_resp_header_bytes: Option<i64>

Total header bytes delivered from Fastly to the end user.

§edge_resp_body_bytes: Option<i64>

Total body bytes delivered from Fastly to the end user.

§status_1xx: Option<i64>

Number of 1xx "Informational" category status codes delivered.

§status_2xx: Option<i64>

Number of 2xx "Success" status codes delivered.

§status_3xx: Option<i64>

Number of 3xx "Redirection" codes delivered.

§status_4xx: Option<i64>

Number of 4xx "Client Error" codes delivered.

§status_5xx: Option<i64>

Number of 5xx "Server Error" codes delivered.

§status_200: Option<i64>

Number of responses delivered with status code 200 (Success).

§status_204: Option<i64>

Number of responses delivered with status code 204 (No Content).

§status_206: Option<i64>

Number of responses delivered with status code 206 (Partial Content).

§status_301: Option<i64>

Number of responses delivered with status code 301 (Moved Permanently).

§status_302: Option<i64>

Number of responses delivered with status code 302 (Found).

§status_304: Option<i64>

Number of responses delivered with status code 304 (Not Modified).

§status_400: Option<i64>

Number of responses delivered with status code 400 (Bad Request).

§status_401: Option<i64>

Number of responses delivered with status code 401 (Unauthorized).

§status_403: Option<i64>

Number of responses delivered with status code 403 (Forbidden).

§status_404: Option<i64>

Number of responses delivered with status code 404 (Not Found).

§status_416: Option<i64>

Number of responses delivered with status code 416 (Range Not Satisfiable).

§status_429: Option<i64>

Number of responses delivered with status code 429 (Too Many Requests).

§status_500: Option<i64>

Number of responses delivered with status code 500 (Internal Server Error).

§status_501: Option<i64>

Number of responses delivered with status code 501 (Not Implemented).

§status_502: Option<i64>

Number of responses delivered with status code 502 (Bad Gateway).

§status_503: Option<i64>

Number of responses delivered with status code 503 (Service Unavailable).

§status_504: Option<i64>

Number of responses delivered with status code 504 (Gateway Timeout).

§status_505: Option<i64>

Number of responses delivered with status code 505 (HTTP Version Not Supported).

§status_530: Option<i64>

Number of responses delivered with status code 530.

§requests: Option<i64>

Number of requests processed.

§resp_header_bytes: Option<i64>

Total header bytes delivered.

§resp_body_bytes: Option<i64>

Total body bytes delivered.

§bereq_header_bytes: Option<i64>

Total header bytes sent to origin.

§bereq_body_bytes: Option<i64>

Total body bytes sent to origin.

§edge_hit_requests: Option<i64>

Number of requests sent by end users to Fastly that resulted in a hit at the edge.

§edge_miss_requests: Option<i64>

Number of requests sent by end users to Fastly that resulted in a miss at the edge.

§origin_fetches: Option<i64>

Number of requests sent to origin.

§origin_fetch_resp_header_bytes: Option<i64>

Total header bytes received from origin.

§origin_fetch_resp_body_bytes: Option<i64>

Total body bytes received from origin.

§bandwidth: Option<i64>

Total bytes delivered (resp_header_bytes + resp_body_bytes + bereq_header_bytes + bereq_body_bytes).

§edge_hit_ratio: Option<f32>

Ratio of cache hits to cache misses at the edge, between 0 and 1 (edge_hit_requests / (edge_hit_requests + edge_miss_requests)).

§origin_offload: Option<f32>

Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((edge_resp_body_bytes + edge_resp_header_bytes) - (origin_fetch_resp_body_bytes + origin_fetch_resp_header_bytes)) / (edge_resp_body_bytes + edge_resp_header_bytes). Previously, Origin Offload used a different formula. Learn more.

§origin_status_200: Option<i64>

Number of responses received from origin with status code 200 (Success).

§origin_status_204: Option<i64>

Number of responses received from origin with status code 204 (No Content).

§origin_status_206: Option<i64>

Number of responses received from origin with status code 206 (Partial Content).

§origin_status_301: Option<i64>

Number of responses received from origin with status code 301 (Moved Permanently).

§origin_status_302: Option<i64>

Number of responses received from origin with status code 302 (Found).

§origin_status_304: Option<i64>

Number of responses received from origin with status code 304 (Not Modified).

§origin_status_400: Option<i64>

Number of responses received from origin with status code 400 (Bad Request).

§origin_status_401: Option<i64>

Number of responses received from origin with status code 401 (Unauthorized).

§origin_status_403: Option<i64>

Number of responses received from origin with status code 403 (Forbidden).

§origin_status_404: Option<i64>

Number of responses received from origin with status code 404 (Not Found).

§origin_status_416: Option<i64>

Number of responses received from origin with status code 416 (Range Not Satisfiable).

§origin_status_429: Option<i64>

Number of responses received from origin with status code 429 (Too Many Requests).

§origin_status_500: Option<i64>

Number of responses received from origin with status code 500 (Internal Server Error).

§origin_status_501: Option<i64>

Number of responses received from origin with status code 501 (Not Implemented).

§origin_status_502: Option<i64>

Number of responses received from origin with status code 502 (Bad Gateway).

§origin_status_503: Option<i64>

Number of responses received from origin with status code 503 (Service Unavailable).

§origin_status_504: Option<i64>

Number of responses received from origin with status code 504 (Gateway Timeout).

§origin_status_505: Option<i64>

Number of responses received from origin with status code 505 (HTTP Version Not Supported).

§origin_status_530: Option<i64>

Number of responses received from origin with status code 530.

§origin_status_1xx: Option<i64>

Number of "Informational" category status codes received from origin.

§origin_status_2xx: Option<i64>

Number of "Success" status codes received from origin.

§origin_status_3xx: Option<i64>

Number of "Redirection" codes received from origin.

§origin_status_4xx: Option<i64>

Number of "Client Error" codes received from origin.

§origin_status_5xx: Option<i64>

Number of "Server Error" codes received from origin.

Implementations§

Source§

impl DomainInspectorMeasurements

Source

pub fn new() -> DomainInspectorMeasurements

A measurements object provides a count of the total number of requests received by Fastly for your domain in the reported time period and for the relevant POP, as specified in the entry. It also includes the number of responses for specific HTTP response status codes and for status code ranges. This dataset is sparse: only the keys with non-zero values will be included in the record. Where a specific status code does not have a field in this model (e.g., 429 Too Many Requests), any responses with that code will be counted as part of the range count (4xx in this case) but will not be separately identified in the data.

Trait Implementations§

Source§

impl Clone for DomainInspectorMeasurements

Source§

fn clone(&self) -> DomainInspectorMeasurements

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DomainInspectorMeasurements

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DomainInspectorMeasurements

Source§

fn default() -> DomainInspectorMeasurements

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for DomainInspectorMeasurements

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for DomainInspectorMeasurements

Source§

fn eq(&self, other: &DomainInspectorMeasurements) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for DomainInspectorMeasurements

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for DomainInspectorMeasurements

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,