Skip to main content
 print this page

Retrieve metrics for a resource

GET 

/metrics/:resource_type/:id

Retrieves time-series metrics for a resource (currently datasets with metrics collection enabled). Response shape example - Message.ResourceMetrics[] with Label, Unit, and DataPoints [{Value, Timestamp}], e.g. FileCount/Count, TotalFileSize/Bytes, DatasetSize/Bytes (Value may be numeric or a size string like "420.17 KB").

Request

Responses

Successfully retrieved resource metrics

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers