Skip to content

Commit

Permalink
prepare release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity666 committed May 19, 2024
1 parent a1bd377 commit 0ee866e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions FUNCTION_CALLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ See also: https://grafana.com/docs/grafana/latest/variables/syntax/
| `interval="<intervaL>"` | Used to set the interval size for timescale datasources, whereas the value is used without further conversion directly in the datasource specific interval parameter. Prometheus default: 15 (passed as `step` parameter) Influx default: similar to grafana default, i.e. `(to_time - from_time) / 1000` (replaces `interval_ms` and `interval` variables in query)
| `query="<query_letter>"` | +<query_letter>+ needs to point to the grafana query which shall be evaluated, e.g. +A+ or +B+.
| `replace_values="<replace_1>:<with_1>,<replace_2>:<with_2>,..."` | Specify result values which shall be replaced, e.g. `2:OK` will replace query values `2` with value `OK`. Replacing several values is possible by separating by `,`. Matches with regular expressions are also supported, but must be full matches, i.e. have to start with `^` and end with `$`, e.g. `^[012]$:OK`. Number replacements can also be performed, e.g. `<8.2` or `<>3`. Execution of related functions is applied in the following order `format`, `replace_values`, `filter_columns`, `transpose`.<br />See also: https://ruby-doc.org/core/Regexp.html#class-Regexp-label-Character+Classes
| `select_value="<select_value>"` | Allows the selection of a specific value from the result set. Supported options are `min`, `max`, `avg`, `sum`, `first`, `last`.
| `timeout="<timeout_in_seconds>"` | Set a timeout for the current query. If not overridden with `grafana_default_timeout` in the report template, this defaults to 60 seconds.
| `to="<timestamp>"` | can be used to override default `to` time
| `to_timezone="<timezone>"` | can be used to override system timezone for `to` time and will also override `grafana_default_to_timezone` option
Expand Down Expand Up @@ -251,6 +252,7 @@ See also: https://grafana.com/docs/grafana/latest/variables/syntax/
| `instant="true"` | Optional parameter for Prometheus `instant` queries. Ignored for other datasources than Prometheus.
| `interval="<intervaL>"` | Used to set the interval size for timescale datasources, whereas the value is used without further conversion directly in the datasource specific interval parameter. Prometheus default: 15 (passed as `step` parameter) Influx default: similar to grafana default, i.e. `(to_time - from_time) / 1000` (replaces `interval_ms` and `interval` variables in query)
| `replace_values="<replace_1>:<with_1>,<replace_2>:<with_2>,..."` | Specify result values which shall be replaced, e.g. `2:OK` will replace query values `2` with value `OK`. Replacing several values is possible by separating by `,`. Matches with regular expressions are also supported, but must be full matches, i.e. have to start with `^` and end with `$`, e.g. `^[012]$:OK`. Number replacements can also be performed, e.g. `<8.2` or `<>3`. Execution of related functions is applied in the following order `format`, `replace_values`, `filter_columns`, `transpose`.<br />See also: https://ruby-doc.org/core/Regexp.html#class-Regexp-label-Character+Classes
| `select_value="<select_value>"` | Allows the selection of a specific value from the result set. Supported options are `min`, `max`, `avg`, `sum`, `first`, `last`.
| `timeout="<timeout_in_seconds>"` | Set a timeout for the current query. If not overridden with `grafana_default_timeout` in the report template, this defaults to 60 seconds.
| `to="<timestamp>"` | can be used to override default `to` time
| `to_timezone="<timezone>"` | can be used to override system timezone for `to` time and will also override `grafana_default_to_timezone` option
Expand Down
4 changes: 2 additions & 2 deletions lib/VERSION.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Version information
GRAFANA_REPORTER_VERSION = [0, 6, 6].freeze
GRAFANA_REPORTER_VERSION = [0, 7, 0].freeze
# Release date
GRAFANA_REPORTER_RELEASE_DATE = '2024-02-22'
GRAFANA_REPORTER_RELEASE_DATE = '2024-05-19'

0 comments on commit 0ee866e

Please sign in to comment.