@digitalocean/dots - v1.0.1
    Preparing search index...

    To retrieve bandwidth metrics for a given Droplet, send a GET request to /v2/monitoring/metrics/droplet/bandwidth. Use the interface query parameter to specify if the results should be for the private or public interface. Use the direction query parameter to specify if the results should be for inbound or outbound traffic.The metrics in the response body are in megabits per second (Mbps).

    interface BandwidthRequestBuilderGetQueryParameters {
        direction?: GetDirectionQueryParameterType;
        end?: string;
        hostId?: string;
        interface?: GetInterfaceQueryParameterType;
        start?: string;
    }
    Index

    Properties

    The traffic direction.

    end?: string

    UNIX timestamp to end metric window.

    hostId?: string

    The droplet ID.

    The network interface.

    start?: string

    UNIX timestamp to start metric window.