Added new SqlTarget to core to be able to define SQL queries as well
Added missing attributes to the Logs panel
Added Cloudwatch Logs Insights Target
Added overrides to panels
Added Discrete panel
Added support for colors in stat mapping panel with StatValueMappings & StatRangeMappings
Added missing auto interval properties in Template
Added param to RowPanel to collapse the row
Added StateTimeline panel which was added in Grafana v8
Added support for timeseries panel added in Grafana v8
Added MinMetricAgg and PercentilesMetricAgg to Elasticsearch
Added support for News panel
Added support for Pie Chart v2 from Grafana v8
Refine expectations of is_color_code
Deprecated StatMapping, StatValueMapping & StatRangeMapping
Change YAxis min value default from 0 to None
Support for Table panel for Grafana v8 may have broken backwards compatibility in old Table panel
Breaking change, support for styled columns in tables removed, no longer used in Grafana v8 new Table
Move development to
mainbranch on GitHub. If you have work tracking the
masteryou will need to update this.
Added colour overrides to pie chart panel
Added missing attributes from xAxis class
Added transformations for the Panel class (https://grafana.com/docs/grafana/next/panels/transformations/types-options/#transformation-types-and-options)
Added Worldmap panel (https://grafana.com/grafana/plugins/grafana-worldmap-panel/)
Added missing fill gradient to Graph panel
Added missing align to graph panel
Added missing show percentage attribute to Pie chart panel
extraJsonattribute to the Panel class for overriding the panel with raw JSON
Added inline script support for Elasticsearch metrics
Selected needs to be set as a bool value for templating to work.
Added a test for the Alert class.
Bugfix: changed ‘target’ validator in AlertNotification to accept CloudwatchMetricsTarget
Moved the alertRuleTag field from Graph to Alert.
Added hide parameter to CloudwatchMetricsTarget class
Added table-driven example dashboard and upload script
bugfix load_dashboard add support for old python version 2.x, 3.3 and 3.4
Fix default target datasource to work with newer versions of Grafana
Removed re-defined maxDataPoints field from multiple panels
Fix the AlertList class and add a test for it
Thanks to all those who have contributed to this release.
Added timeField field for the Elasticsearch target to allow the alert to change its state
Added nameFilter field for the AlertList panel
Added dashboardTags field for the AlertList panel
Thanks a lot for your contributions to this release, @dafna-starkware
Added Logs panel (https://grafana.com/docs/grafana/latest/panels/visualizations/logs-panel/)
Added Cloudwatch metrics datasource (https://grafana.com/docs/grafana/latest/datasources/cloudwatch/)
Added option to hide dashboard time picker
Added Notification for Alert
Added alertRuleTags field to the graph panel
Added support for thresholds to graph panel
Added support for Elasticsearch alert condition
Added support for using gridPos for dashboard panels
Added support for Humio Data Source. (https://grafana.com/grafana/plugins/humio-datasource/)
Replace deprecated attr.assoc with attr.evolve
Added Alert Threshold enabled/disabled to Graphs.
Added constants for all Grafana value formats
Added support for repetitions to Stat Panels (https://grafana.com/docs/grafana/latest/variables/repeat-panels-or-rows/)
Added textMode option to Stat Panels
Add Panel object for all panels to inherit from
Add Dashboard list panel (https://grafana.com/docs/grafana/latest/panels/visualizations/dashboard-list-panel/)
Change supported python versions from 3.6 to 3.9
Added hide parameter to Target
Updated dependencies (docs, build, CI)
Consistent coding style
This release adds quite a few new classes to grafanalib, ElasticSearch support was improved and support for InfluxDB data sources was added.
We would also very much like to welcome James Gibson as new maintainer of grafanalib. Thanks a lot for stepping up to this role!
Added more YAxis formats, added Threshold and SeriesOverride types
dataLinks support in graphs
Add Elasticsearch bucket script pipeline aggregator
Added ability to hide metrics for Elasticsearch MetricAggs
Add derivative metric aggregation for Elasticsearch
StatRangeMapping) to support the Stat panel
Svgclass to support the SVG panel
PieChartclass for creating Pie Chart panels
Add transparent setting to classes that were missing it (Heatmap, PieChart)
Add InfluxDB data source
Thanks a lot for your contributions to this release, @DWalker487, @JamesGibo, @daveworth, @dholbach, @fauust, @larsderidder, @matthewmrichter.
Fix crasher instatiating elasticsearch panels.
Thanks a lot for your contributions to this release, @DWalker487, @dholbach and @matthewmrichter.
HeatmapColor) to support the Heatmap panel (#170)
BarGuagefor creating bar guages panels in grafana 6
GuagePanelfor creating guages in grafana 6
Add data links support to
Removed gfdatasource - feature is built in to Grafana since v5.
Generate API docs for readthedocs.org
Fix AlertList panel generation
Add both upper and lower case “time” pattern for time_series column format in Table class
Drop testing of Python 2.7, it has been EOL’ed and CI was broken due to this.
Automatically test documentation examples.
Point to dev meeting resources.
Add description attribute to Dashboard.
Add support for custom variables.
Point out documentation on readthedocs more clearly.
Add average metric aggregation for elastic search
Bugfix to query ordering in Elasticsearch TermsGroupBy
Added all parameters for StringColumnStyle
Add Elasticsearch Sum metric aggregator
StatusmapColor) to support the Statusmap panel plugin
Bugfix to update default
Use Github Actions for CI.
Fix test warnings.
GaugePaneldefault Threshold values.
Update release instructions.
Thanks a lot to the contributions from @DWalker487, @bboreham, @butlerx, @dholbach, @franzs, @jaychitalia95, @matthewmrichter and @number492 for this release!
It’s been a while since the last release and we are happy to get this one into your hands. 0.5.5 is a maintenance release, most importantly it adds support for Python >= 3.5.
We are very delighted to welcome Matt Richter on board as maintainer.
Automate publishing to PyPI with GitHub Actions
Update README.rst to make the example work
Bump Dockerfile to use Alpine 3.10 as base
load_source()call which doesn’t exist in Python 3.5
Update versions of Python tested
pin to attrs 19.2 and fix deprecated arguments
Many thanks to contributors @bboreham, @dholbach, @ducksecops, @kevingessner, @matthewmrichter, @uritau.
Add ‘diff’, ‘percent_diff’ and ‘count_non_null’ as RTYPE
Support for changing sort value in Template Variables.
Sort tooltips by value in Weave/Stacked-Charts
forparameter for alerts on Grafana 6.X
Add named values for the Template.hide parameter
Add cardinality metric aggregator for ElasticSearch
Add Threshold and Series Override types
Add more YAxis formats
Many thanks to contributors @kevingessner, @2easy, @vicmarbev, @butlerx.
Minor markup tweaks to the README
PromGraphwas losing all its legends. It doesn’t any more. (#130)
Add support for mixed data sources
ExternalLinkclass for dashboard-level links to other pages
Template now supports ‘type’ and ‘hide’ attributes
Legend now supports
Tables now support
Update README.rst with information on how to get help.
Fix for crasher bug that broke
SingleStat, introduced by #114
It’s Thanksgiving today, so more than ever I want to express my gratitude to all the people who have contributed to this release!
PromGraphis now more powerful. If you want to pass extra parameters like
intervalFactorto your targets, you can do so by listing targets as dictionaries, rather than tuples. (https://github.com/weaveworks/grafanalib/pull/66)
Support for absolute links to drill-down in graphs (https://github.com/weaveworks/grafanalib/pull/86)
Breaking change to
data_sourceparameter and removed old hard-coded setting. (https://github.com/weaveworks/grafanalib/pull/77)
Generally adding more parameters to existing things:
New formats: “bps” and “Bps” (https://github.com/weaveworks/grafanalib/pull/68)
Specify the “Min step” for a
Specify the number of decimals shown on the
Dashboardinputs, allowing dashboards to be parametrized by data source. (https://github.com/weaveworks/grafanalib/pull/83)
labelis now optional (https://github.com/weaveworks/grafanalib/pull/92) *
includeAllattributes now available (https://github.com/weaveworks/grafanalib/pull/67) *
multiattributes now available (https://github.com/weaveworks/grafanalib/pull/82)
Rows can now repeat (https://github.com/weaveworks/grafanalib/pull/82)
Specify the “Instant” for a
Rowis now respected (https://github.com/weaveworks/grafanalib/pull/80)
OpenTSDB datasource support (https://github.com/weaveworks/grafanalib/pull/27)
Dashboardobjects now have an
auto_panel_idmethod which will automatically supply unique panel (i.e. graph) IDs for any panels that don’t have one set. Dashboard config files no longer need to track their own
single_y_axishelper for the common case of a graph that has only one Y axis
YAxestype for specifying Y axes. Using a list of two
YAxisobjects is deprecated.
Add support for Grafana Templates (https://github.com/weaveworks/grafanalib/pull/9)
Include README on PyPI page