#Raw data querying

1 messages · Page 1 of 1 (latest)

foggy chasm
#

Hello,
Our customer is using nabox 3, and we need to get some raw data for lots of volumes and nodes from different time ranges.
We thought to write some script that gets the info directly from the database, I assume it’s prometheus.
Is this possible to achieve this, and which method is recommended?

Thanks

cunning grove
#

Yes, you can query /prometheus how you'd like, it's the prometheus endpoint

foggy chasm
#

Thanks, do you have any sample / example to start with?

cunning grove
#

I'll refer you to prometheus documentation https://prometheus.io/docs/prometheus/latest/querying/basics/ and also look at the provided dashboards, when you edit a panel you can see what query is performed to graph data. You can use the /prometheus URL to explore and run queries

foggy chasm
#

Trying with Nabox 4.0.4 in the lab, should it be the same as in Nabox 3?
Seems that the access is by nabox-ip with /vm?

cunning grove
#

yes that's correct

foggy chasm
#

Thanks!