Hi all,
I want number of active users and last time loggedin time. These metrics are not available directly from node exporter metrics. So we wrote some script which prometheus can understand.
we created cron job and made it run every one minute and it will gave those metrucs data which and integrated the same in grafana. we are getting data correctly but some times the data is appearing in the dashboard and sometmes its not appearing in dashboard.
We are getting data for most of the servers but we were not getting for few. but when we refresh dashboard we are loosing info for some and we were getting info for some servers.
what can be the problem for ths? cron job or time duration of cron job or any? could anyone please help me out?
Thanks & regards,
Bharath Kumar