#Access to manually created performance views via REST
1 messages · Page 1 of 1 (latest)
If not, #1062050414146625536 may have a way to do that. What views are you trying to set up?
doesn't look like it. instead, you would just select the metrics you want via api rather then trying to call a specific view.
actually, looks like it just might not be public.
ok, played with it a bit, and i've only been able to make it work for capacity in a limited way
but even with the view name, it doesn't limit to the columns in the view. if you want to do that, add another param for the columns you want.
something like this:
with specific columns:
if you need more flexibility, or the performance metrics, just call that api instead of trying to use a view.
Check out TR-4709 - it's a bit old but its possible to connect directly to the database with a Read Only account and query against the views.
between the both of you, it would be cool if "saved views" could simply be queried via REST... perhaps something to think about... the storage admin could then (much like a Graphana view, but here it's just a list of volumes with certain characteristics) create views that are useful for certain user groups...
i know there is a bunch of other aspects about who should be able to see which views, etc, but at this point just exposing the saved views would be a start
one could later add which non-admin users can see this view
one can actually use the "analytics" namespace to get some of the correct data, but there's a field that's undocumented "period: " ... not sure if that's days or hours and one doesn't seem to be able specify this "period"