Skip to main content

Get Average Price Per Hour

GET 

/dashboard/:cluster_type/avg-price-per-hour/:cluster_id

This data provides insights into price efficiency within the EKS cluster by breaking down average costs per vCPU, GiB of memory, and GPU. Unlike overall cluster cost, which only shows total expenditure, these per-unit prices reveal how cost-effectively resources are being utilized. By analyzing price efficiency, we can make better decisions about resource allocation and scaling, ensuring that the cluster is optimized for both performance and cost-effectiveness.

Request

Path Parameters

    cluster_id Cluster Idrequired
    cluster_type anyrequired

    Type of the cluster (eks, asg)

Query Parameters

    instance_type string[]

    Optional list of Instance Types to filter

    availability_zone string[]

    Optional list of Availability Zones to filter

    date_start Date Start

    Default value: 2024-09-25

    Start date for the pricing period (YYYY-MM-DD)

    date_end Date End

    Default value: 2024-10-25

    End date for the pricing period (YYYY-MM-DD)

Header Parameters

    X-Nops-Api-Key stringrequired

    API key for authentication

Responses

Successful response with average prices per hour.

Schema

    any

Loading...