divinity666 / ruby-grafana-reporter

Reporting Service for Grafana
MIT License
66 stars 5 forks source link

Help with Getting Started #34

Closed nat-ray closed 5 months ago

nat-ray commented 1 year ago

Describe the issue I am trying to create a simple report of a Grafana dashboard. I have installed the tool to my local and ran the wizard. I see the demo_report.adoc file is there, but am not sure I understand where to go from here.

When creating our own template files, is this supposed to point to the specific dashboard that we want to create the report on? Is there any simple guide that shows how to go about doing this using one dashboard?

Configuration file

grafana: default: host: https://URL:443 api_key: XXXXX



**Environment (please complete the following information):**
 - OS: OSX
 - Grafana version [e.g. 6.3.4]: 7.4.1
 - Environment: Grafana is running in Kubernetes  
 - Ruby Version, if source or gem environment: ruby 3.1.2p20
 - Reporter version: 0.6.2 
divinity666 commented 1 year ago

I am afraid there is no tutorial, like you are asking for.

Generally, the reporter gives you the freedom to specify the dashboard id, panel id and query id for each and every request in the brackets (refer to the help section of the individual commands). This is also the way it is done in the wizard demo report.

Hope this helps. If you have more specific questions, you may ask them in this thread.

bhaumiksonii commented 1 year ago

i have truied to create the docker-compose file and passed some env variables

divinity666 commented 1 year ago

The reporter does currently not use variables from a docker-compose file (though this might be better to do so in future).

Instead, you have to create your config file as usual and place it in the folder mounted as /documents.

divinity666 commented 5 months ago

Solution provided, missing feedback, if this worked. Closing