utils icon indicating copy to clipboard operation
utils copied to clipboard

Does gophercloud utils support gnocchi aggregate?

Open FakeKuryr opened this issue 4 years ago • 1 comments

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)

FakeKuryr avatar Sep 17 '21 15:09 FakeKuryr

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.

jtopjian avatar Sep 23 '21 15:09 jtopjian