PromGraph
was losing all its legends. It doesn't any more. (#130)
- Add
AlertList
panel support - Add support for mixed data sources
- Add
ExternalLink
class for dashboard-level links to other pages - Template now supports 'type' and 'hide' attributes
- Legend now supports
sort
andsortDesc
attributes - Tables now support
timeFrom
attribute - Update README.rst with information on how to get help.
- Fix for crasher bug that broke
SingleStat
, introduced by #114
- grafanalib now supports Python 2.7. This enables it to be used within Bazel.
- Partial support for graphs against Elasticsearch datasources (weaveworks#99)
- Constants for days, hours, and minutes (weaveworks#98)
- Groups and tags can now be used with templates (weaveworks#97)
Massive release!
It's Thanksgiving today, so more than ever I want to express my gratitude to all the people who have contributed to this release!
- @aknuds1
- @atopuzov
- @bboreham
- @fho
- @filippog
- @gaelL
- @lalinsky
- @leth
- @lexfrei
- @mikebryant
- Support for
Text
panels (weaveworks#63) PromGraph
is now more powerful. If you want to pass extra parameters likeintervalFactor
to your targets, you can do so by listing targets as dictionaries, rather than tuples. (weaveworks#66)- Support for absolute links to drill-down in graphs (weaveworks#86)
- Breaking change to
weave.QPSGraph()
- addeddata_source
parameter and removed old hard-coded setting. (weaveworks#77)
Generally adding more parameters to existing things:
- Graphs can now have descriptions or be transparent (weaveworks#62 weaveworks#89)
- New formats: "bps" and "Bps" (weaveworks#68)
- Specify the "Min step" for a
Target
using theinterval
attribute. - Specify the number of decimals shown on the
YAxis
with thedecimals
attribute - Specify multiple
Dashboard
inputs, allowing dashboards to be parametrized by data source. (weaveworks#83) - Templates
*
label
is now optional (weaveworks#92) *allValue
andincludeAll
attributes now available (weaveworks#67) *regex
andmulti
attributes now available (weaveworks#82) - Rows can now repeat (weaveworks#82)
- Add missing
NULL_AS_NULL
constant - Specify the "Instant" for a
Target
using theinstant
attribute.
- The
showTitle
parameter inRow
is now respected (weaveworks#80)
- OpenTSDB datasource support (weaveworks#27)
- Grafana Zabbix plugin support (weaveworks#31, weaveworks#36)
Dashboard
objects now have anauto_panel_id
method 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 ownGRAPH_ID
counter.- Support for
SingleStat
panels (weaveworks#22) single_y_axis
helper for the common case of a graph that has only one Y axis
PromGraph
now lives ingrafanalib.prometheus
, and takes adata_source
parameter- Additional fields for
Legend
(weaveworks#25) - Additional fields for
XAxis
(weaveworks#28) - Get an error when you specify the wrong number of Y axes
- New
YAxes
type for specifying Y axes. Using a list of twoYAxis
objects is deprecated.
- Add support for Grafana Templates (weaveworks#9)
- Include README on PyPI page
Initial release.