Hi Peter,

The dwh views do not change, we support legacy views fro 3.6,  so we recommend using DWH to get the statistics you want.
It is possible to connect grafana directly with DWH if that interest you.

Also, We have a new feature called "oVirt metrics store" that collectd many statistics using and logs using fluentd to a central Elasticsearch and Kibana.
I can elaborate on that if you want.

Best,
--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel


On Tue, May 15, 2018 at 4:23 PM, Peter Hudec <phudec@cnc.sk> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm trying to understand the flow how the stats from the VM and HOSTS
are imported  into the engine.

On each host there is VDSM. Using the vsdm-client I'm able to get HOST
and VM stats

vdsm-client Host getAllVmStats
vdsm-client Host getStats

Are the hosts pushing the data to the engine or vice versa? On the
engine side there is java based vdsm-jsonrpc client so I guess the
data are pulled from the hosts to the engine database.


Yes. Engine pulls the stats from the hosts every 15 seconds.
 
And of course the question is which component on engine side is
getting/requesting the data.

I'm trying to get the stat less painless as query the API.
Maybe the engine/dwh database could help but the scheme could change
between releases, isn't it. or the engine DB.

        regards
                Peter

- --
*Peter Hudec*
Infraštruktúrny architekt
phudec@cnc.sk <mailto:phudec@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr63zYACgkQQnvVWOJ3
5BC1BxAApSg29lv1KohiVeJNsFdF4i77e2H77drLe9Ffq1kg/+VESh6+ggeZIH1U
W5e06PJeifoZbtWL2enaJsml9JZM/3kvqU5TC93sR8chvhfRo3GXS50tWCEe5b0R
UPdpjgyYipN+i3Xibl/YxHMu9fwpFIH+VY+JWn70Dz5pjvgwn71ogCcRUA6Itvom
700Pwv4yV31hWyE6qXiWOth0Rfey3+QkEXtNhRrEOHeAzpNABS5Zixjocr9c5xhz
AdLkUAGVvEQEYy/Nzyv8A8KRSY1z63Ijyv5hgQIpGkKfbXhRYrotY6EeqdJ6PYsF
tQvkjjT+kJ5SBYClK/et9X4y2ZMe+4YX7lrsZnk8V/Oj3YYw2y1XlvXcrt0pZlHA
G9QIhcn/chtBTslGOW0t4B603YRykausunc9XXq1IGKNyLHb/lrDiDh+x2dCg5vT
sGJE/gQffSNSwk5oFBlG2U9aOgWvZ8m3nVCDdGo+1a9fc/KR8toQi9axsiIMVYb/
dzbDmaYlXbKNwWdVirftTetxuwn44j2Kgv4b048ZmGwTvwc79UuoS8H9hv9LlBM6
7E7iqaGfKbExg0/EMZurd90P62zn8nIGnYEJUrxVU3aJ4E2gWflfSelYMymNtE+u
aZAMxvK6gILQP2n45AVkKOTacQwX07QCzlvJ2sL4gNzQQ+UL52c=
=RNAH
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org