divinity666 / ruby-grafana-reporter

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

where to configure for HTML instead of default PDF report #43

Closed SridharManoj-Parsi closed 5 months ago

SridharManoj-Parsi commented 1 year ago

Describe the issue i want to generate a html instead of PDF . but i am not able to find where i can configure this in grafana_reporter.config

Configuration file

grafana-reporter:

Specifies how often the reporter shall check for newer versions [number of days].

You may set check-for-updates to 0 to disable

check-for-updates: 1 report-class: GrafanaReporter::Asciidoctor::Report templates-folder: i reports-folder: ./reports report-retention: 24 webservice-port: 9094

you may want to configure the following webhook callbacks to get informed on certain events

callbacks:

all:

- <>

- ...

on_before_create:

- <>

- ...

on_after_cancel:

- <>

- ...

on_after_finish:

- <>

- ...

default-document-attributes: imagesdir: ./images

feel free to add here additional asciidoctor document attributes which are applied to all your templates

divinity666 commented 1 year ago

Thanks for using the reporter.

You can set the convert-backend attribute to e.g. html or xhtml5, which will force the reporter to build a ZIP file containing all related files. You may e.g. pass that attribute simply as a URL parameter, on console call or in the configuration file.

Let me know, if this was helpful.

divinity666 commented 5 months ago

Not feedback. Closing.