docker-archive / dockercloud-cli

CLI for Docker Cloud
https://cloud.docker.com/
Apache License 2.0
74 stars 40 forks source link

How to access container/node "Last Metric" attributes? #40

Closed adambiggs closed 7 years ago

adambiggs commented 7 years ago

The Docker Cloud API reference mentions "Last Metric attributes" for both nodes and containers. I'm trying to build an auto-scaling component on top of the API, but I have no idea how to access these attributes. There doesn't seem to be any other references to these attributes anywhere else...

https://docs.docker.com/apidocs/docker-cloud/?http#node-last-metric-attributes https://docs.docker.com/apidocs/docker-cloud/?http#container-last-metric-attributes

tifayuki commented 7 years ago

Hi @adambiggs

The two attributes were removed from our API long ago, but somehow the document is not updated. It is not available any more. We will update the doc ASAP.

Sorry for the inconvenience.