Releases: divinity666/ruby-grafana-reporter
v0.7.0 - Improved demo report creation and added select_value option
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
forgrafana_panel_query_value
andgrafana_sql_value
to specify the desired return value. It supportsmin
,max
,avg
,sum
,first
,last
- added option
- 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
andgrafana_panel_query_table
were not creating any demo entries... this is not fixed- fixed build pipeline
- fix regexp to escape '+' symbol in positive delta times such as e.g.
Enjoy!
v0.6.6 - Support influx in newer grafana versions and added 'render-scale'
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
- 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
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
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
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 asinclude_headline
to the functional documentation
- adds option
- 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
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
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
This is a quick release, fixing some issues, which are related to new grafana versions and support advanced debugging.
- new features
- 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
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
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 asstep
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
andstring
instant query results of prometheus queries - properly handly prometheus query errors
- improve checks of configuration files before starting up, e.g. checks for
http://
orhttps://
at the beginning of host configurations
- add support for calling prometheus instant queries from sql inline and sql table queries with the parameter
- bugfixes
- use panel configured
step
configuration in prometheus panels as default forinterval
option - added ERB support note in gem description
- added missing blanks in log messages
- use panel configured
Enjoy!