gophercloud / utils

Apache License 2.0
20 stars 55 forks source link

Does gophercloud utils support gnocchi aggregate? #163

Open DeyunLuo opened 3 years ago

DeyunLuo commented 3 years ago

I find how to get instance cpu_util (Instance percentage of host cpu ) from stackoverflow https://stackoverflow.com/a/57386023/12524552 But I cant't find about aggregate interface in gophercloud/utils/gnocchi/metric/v1/ So utils doesn't support aggregate like this ["(* (aggregate mean (metric cpu.util mean)) 4)"]?(https://gnocchi.osci.io/rest.html#examples)

jtopjian commented 3 years ago

Yeah, it looks like we're missing the /v1/aggregates APIs. I'd be happy to review a PR for anyone who wants to submit it.