- Explore dashboards: Ignore
-- Mixed --
data sources - Caching: Increase default cache TTL to five minutes again
- Caching: Optionally configure TTL using environment variable
CACHE_TTL
- History: Stop
grafana-wtf log <UID>
acquiring all dashboards - Refactoring: Move all report renderers to
grafana_wtf.report
- History: Add
id
anduid
dashboard attributes to report - History: Unlock YAML export format
- History: Add new options
--head
,--tail
, and--reverse
- Search: Unlock JSON and YAML export formats
- History: Add SQL querying capabilities
- Fix
collect_datasource_items
when hitting special templated datasource. Thanks, @mauhiz.
- Add
--dry-run
option forreplace
subcommand. Thanks, @TaylorMutch. - Update dependencies to their most recent versions.
- Add URLs to dashboard variables and panel view/edit pages to the output of
the
find
subcommand. Thanks, @oplehto. - Improve display of progressbar wrt. being interrupted by logging output.
- Improve caching
- Use cache database location within user folder
- Send cache database location to log
- Reduce default cache TTL from five minutes to 60 seconds
- Drop support for Python 3.6
- Improve discovery of data sources defined by dashboard variables
- CI: Use most recent Grafana 7.5.16, 8.5.6, and 9.0.0
- Fix dashboard exploration when the
annotations.list
slot isNone
instead of an empty list. Thanks, @TaylorMutch!
- Add option to ignore untrusted SSL certificates. Thanks, @billabongrob!
- Use
grafana-client-2.1.0
, remove monkeypatch - Tests: Improve fixture
create_datasource
to clean up afterwards - Tests: Add fixture
create_dashboard
to create dashboards at runtime - Tests: Disable caching in test mode
- Tests: Make test suite clean up its provisioned assets from Grafana
- Tests: Run Grafana on non-standard port 33333
- Tests: Add flag
CLEANUP_RESOURCES
to determine whether to clean up all resources provisioned to Grafana. - Tests: Improve test quality, specifically for
explore dashboards
on Grafana 6 vs. Grafana >= 7 - Tests: Make test case for
explore datasources
use _two_ data sources - Tests: Mimic Grafana 7/8 on datasource references within dashboards, newer versions have objects (uid, type) instead of bare names
- Fix implementation flaw reported at #32. Thanks, @IgorOhrimenko and @carpenterbees!
- CI: Use most recent Grafana 7.5.15 and 8.4.4
- Switch to the
grafana-client
library fork
- CI: Use most recent Grafana 8.3.3
- Add two more examples about using
explore dashboards
withjq
- CI: Prepare test suite for testing two different dashboard schema versions, v27 and v33
- Improve determinism by returning stable sort order of dashboard results
- Improve compatibility with Grafana 8.3 by handling dashboard schema version 33 properly
- Reestablish compatibility with Grafana 6
- Confirm compatibility with Grafana 8.3.4
- Rename subcommand
datasource-breakdown
toexplore datasources
- Add subcommand
explore dashboards
, e.g. for discovering dashboards using missing data sources. - CI/GHA test matrix: Use Grafana 7.5.12 and 8.3.2
- Add subcommand
info
, to display Grafana version and statistics about all entities - For
info
subcommand, add Grafanaurl
attribute - Add example how to print the Grafana version using the
info
subcommand - Add more information about dashboard entities to
info
subcommand - Blackify code base
- Add
Dockerfile
and GHA recipe to publish container images to GHCR
- Be more graceful when decoding Grafana dashboard data structures. Thanks, @jangaraj!
- Upgrade to
colored==1.4.3
. Thanks, @dslackw! - Tests: Use
.env
file for propagating environment variables to Docker Compose - CI/GHA test matrix: Use Grafana 7.5.11 and 8.3.1 and add Python 3.10
- Add feature to explore datasources, specifically for finding unused ones. Thanks, @chenlujjj!
- Improve behaviour of "replace" action by clearing the cache
- Croak when obtaining unknown report format
- Use ANSI colors only on TTYs
- Add software tests, with CI on GHA
- Add monkeypatch for grafana-api package to mitigate flaw with "replace" action. See also m0nhawk/grafana_api#85.
- Bump/improve dependency versions to 3rd-party packages
- Run tests on CI against different versions of Grafana
- Add a tabular report to the find command. Thanks, @cronosnull!
- Add option
--select-dashboard
to scan specific dashboards by list of uids - Bump dependent modules to their most recent versions
- Add option to replace string within dashboard
- Compensate for leading slash in API URL inserted by
grafana_api
. Thanks, @jangaraj.
- Add "--http-logging" option
- Improve search performance
- Improve report output. Add title, folder, uid, created, updated fields for dashboards.
- Fix progressbar shutdown
- Improve progressbar behavior
- Upgrade required packages to their recent versions
- Add "--concurrency" option to run multiple requests in parallel as requested through #2. Thanks, @jangaraj.
- Extend non_leaf_nodes with "list" and "links"
- Improve logging
- Raise the limit for
search_dashboards()
to its maximum value (5000). Thanks, @jangaraj.
Slightly improve the situation with large Grafana installations, see #2. Thanks, @jangaraj.
- Add option
--cache-ttl
for controlling the cache expiration time - Improve error logging when hitting Grafana unauthorized
- Improve performance of search routine
- Add progress indicator
- Improve logging and reporting
- Add
grafana-wtf log
subcommand for displaying edit history
- Add missing dependency "jsonpath-rw"
- Add proof-of-concept implementation
- Add Grafana API key token authentication
- Add HTTP response caching and "--drop-cache" option