Not able to generate reports

I am trying to generate last month reports but not able to get the reports. I am getting this month reports and we are using Grafana & Prometheus since last 4 months. Could you please help me here.

Thanks,
Lingam

Can I get reply from anyone… Still I am facing issue for generating reports.

Thanks for advance,
Lingam

Hi!

Please provide a bit more information, what version of Grafana are you using?
Do you get any errors? It would be very helpful if you could show the logs.

/ Jon

Hello Jon,

Thanks for responding.

Grafana version : 6.4
We are not getting any errors while generating the reports.

Thanks,
Lingam

Hi,

I would recommend using latest version of Grafana. Also switching to the image render plugin.
It sounds like you are running Grafana Enterprise? In that case I would reach out using your company’s support contact to get a support case raised if that does not solve your problem.

Best
/ Jon

Hello Jon,

We didn’t subscription for enterprise and could you please explain for image render plugin.

Thanks,
Lingam

Aha, I thought you were using the reporting functionality.
Then I am a bit confused, could you elaborate

generate last month reports

What does that mean and how are you generating the reports?
Is the issue that you do not get any data?
How are you hosting Grafana?

/ Jon

Hello Jon,

We are trying to get last month customized data but unable to get the data but we are getting this month of data.
Grafana is hosted on data center server.
Data source is Prometheus.

Thanks,
Lingam

Ok, there is no obvious reson I can think of.
Could you check if there is data in Prometheus for that period?

Hello Jon,

There is no data in Prometheus for that period.

Thanks,
Lingam

Hi,

So I guess the question is why there is no data in Prometheus then?
I cannot guess why that would be, you would have to describe from where the data comes, how it is sent to prometheus etc. I am not sure I will be able to be of much help though.

/ Jon

Hello Jon,

  1. I guess the question is why there is no data in Prometheus then? — Yes
    We have installed agents on servers and servers communicating to Prometheus server.

One more thing now we are getting on last 15 days data only, please find the below screenshot. please look into this.

Thanks,
Lingam

Hello Lingam,

I think your Problem can be solved by configuring your Prometheus.
Normally Prometheus deletes data older than a configured timespan.
In your case I would bet that your timespan is the default of 14 days.

Maybe this will solve your problem. If not feel free to ask us.

Kind regards

Michael

Hello Michael,

Thanks for responding.
How to ser timespan in Prometheus.
Could you please share the configuration details.

Thanks,
Lingam

https://prometheus.io/docs/prometheus/latest/storage/
Link to the official Prometheus documentation

https://groups.google.com/forum/m/#!topic/prometheus-users/DhbTNUiyUyo
Link to a discussion on the Google Prometheus usergroup where all possible solutions and best practices are mentioned

Hope this works for you.

Hello Michael,

Thank you for providing and will let you know if it’s works.

Regards,
Lingam

Hi! You can generate reports easily with Skedler Reports!

Here’s the link. This should help! :slight_smile:

https://www.skedler.com/reporting/

Hi Michael/Jon,

This is has been fixed, Thanks for supporting.

Regards,
Lingam