digitalocean / digitalocean/api-v2

[Feature Request] Get All Metrics of a Droplet or APP with one request

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
138
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Currently it is possible to get the metrics of different types of a Droplet, but it is not possible to get all metrics in one request.
I suggest adding 2 new endpoints:

1. /v2/monitoring/metrics/droplet/{droplet_id}
Gets All Metrics for a specific Droplet (High Priority)

2. /v2/monitoring/metrics/droplet
Gets All Metrics for All Droplets. This should be paginated with a default items per page (Whatever is most common like 20), but allow up to 100 items per page if needed. (Low Priority. This would be nice to have, but not as required as the first one)

Same for Apps.

Currently I need to hit about 8 metric endpoints, but It would be nicer to only need to use 1 request which should also reduce load on your api servers.

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.