Skip to content

Releases: divinity666/ruby-grafana-reporter

v0.7.0 - Improved demo report creation and added select_value option

19 May 11:39
Compare
Choose a tag to compare

I was struggling, if I make this a minor or major update. In the end, it doesn't matter: it should be now much more easy, to use the ruby-grafana-reporter!

  • breaking changes
  • new features
    • added option select_value for grafana_panel_query_value and grafana_sql_value to specify the desired return value. It supports min, max, avg, sum, first, last
  • improvements
    • added an animated gif to the readme, which hopefully helps new users to understand on how to use the ruby-grafana-reporter
    • demo report now is now creating with more content, also for very light dashboards, to support better understanding for new users
  • bugfixes
    • fix regexp to escape '+' symbol in positive delta times such as e.g. now/h+8h, which lead to an infinite loop (#47)
    • grafana_sql_table and grafana_panel_query_table were not creating any demo entries... this is not fixed
    • fixed build pipeline

Enjoy!

v0.6.6 - Support influx in newer grafana versions and added 'render-scale'

22 Feb 16:41
Compare
Choose a tag to compare

This release contains some improvements and bugfixes, mostly mentioned by you. Thanks for staying with me!
Don't worry about the missing releases - I mistakenly created intermediate releases, which should not have been done.

  • breaking changes
  • new features
    • now supports option render-scale (#44)
    • supports InfluxDB now for Grafana versions >= 8 (#42)
  • improvements
    • explanations in documentation are overworked
    • error messages clarified
    • moved from ocra to ocran to support newer ruby versions
  • bugfixes
    • timeout handed over for image renderings are now also forwarded to the webrequest (#45)
    • fixed build pipeline

Looking forward to your feedback!

v0.6.3 - Avoid errors with nil datasources and improved error messages

08 Jan 18:46
Compare
Choose a tag to compare

This release contains a bugfix and further improved debugging capabilities.

  • improvements
    • shows whole stacktrace on internal errors
  • bugfixes
    • removes nil datasources from grafana datasource array to avoid exceptions including a proper warning message (#35)

If you see FATAL errors when using the reporter, you should definitely move to this version.

Happy to hear your feedback!

v0.6.2 - Support new datasource API for SQL databases

14 Sep 20:37
Compare
Choose a tag to compare

This release adds support to the new datasource API for SQL databases.

  • bugfixes
    • SQL queries now support new API endpoint, when using Grafana >= 8.x (#31)
  • nerd stuff
    • setup a complete automated build pipeline to reduce efforts for testing in multiple environments and releasing properly

Awaiting your feedback!

v0.6.1 - Bugfix and improved debugging capabilities

30 Aug 18:52
Compare
Choose a tag to compare

This release is mainly intended to debug specific bugs and therefore provides extended debugging capabilities and minor bugfixes.

  • improvements
    • adds option verbose_log="true" as option for queries, which prints additional information about query results to the log
    • added grafana_value_as_variable as well as include_headline to the functional documentation
  • bugfixes
    • some queries could not be executed, because of wrong evaluation of headlines (#31)

Hopefully this supports debugging us in debugging the issues :-)

v0.6.0 - adjust version dependencies and add support for new prometheus queries

01 Aug 10:31
Compare
Choose a tag to compare

This release updates all dependencies to current docker asciidoctor release, which means Ruby >=2.7 at least.
The main reason for this release anyway was to add support for newer prometheus queries since grafana 7.5.x and to hunt down current bugs reported.

  • improvements
    • adjust dependencies to match current docker asciidoctor release
    • add support for prometheus queries for grafana >= 7.5.x
    • datasources now receive information about the used grafana version, so that different handling is possible for different grafana versions
  • bugfixes
    • handle properly, if an unsupported variable is used on a dashboard - anyway queries which rely on this, won't run properly, but other queries can be used without any issues
    • handle issue if datasources are nil - which should never happen, but did in bug #29. A message is added to the logs giving more details for a future final fix

Enjoy!

v0.5.4 - Critical bugfix release

25 Mar 06:21
Compare
Choose a tag to compare

This release fixes a critical bug introduced with v0.5.3.

  • bugfixes
    • panels using the default datasource could no longer be rendered

v0.5.3 - Support dataframe reponses and variable datasources

24 Mar 07:21
Compare
Choose a tag to compare

This is a quick release, fixing some issues, which are related to new grafana versions and support advanced debugging.

  • new features
    • handle panels properly, where the datasource is configured by a variable (#23)
    • support dataframe responses for all internal datasources (#22)
  • improvements
    • issues during handling datasource responses will now throw proper error messages, including the query response as raw text for debugging purposes (added to support debugging of #24)

Enjoy!

v0.5.2 - Support newer Grafana versions datasource storage and dataframes for Prometheus

22 Mar 19:30
Compare
Choose a tag to compare

This release contains only bugfixes to enable compatibility with newer Grafana versions.

  • new features
    • support dataframes response format for Prometheus queries
  • improvements
    • show proper error message if a Datasource cannot handle the query response of Grafana, which might happen more often in future
  • bugfixes
    • support new way of storing Grafana datasources in JSON (Hash instead of Strings)

Let me know, if further bugs exist.

v0.5.1 - Improved prometheus support and some other minor improvements

18 Dec 21:45
Compare
Choose a tag to compare

This release mainly improves prometheus support.

  • improvements
    • add support for calling prometheus instant queries from sql inline and sql table queries with the parameter instant=true
    • add support for interval option in sql inline or table queries, which will replace $__interval variable in influx queries or will be forwarded to prometheus as step variable
    • add support for inline prometheus queries, including test case, please note: due to a bug ] in an inline prometheus query has to be escaped by \] (added note to help documentation)
    • add full support for vector, scalar and string instant query results of prometheus queries
    • properly handly prometheus query errors
    • improve checks of configuration files before starting up, e.g. checks for http:// or https:// at the beginning of host configurations
  • bugfixes
    • use panel configured step configuration in prometheus panels as default for interval option
    • added ERB support note in gem description
    • added missing blanks in log messages

Enjoy!