di.grafana module#105
Conversation
Olly99999
commented
Jun 18, 2026
SummaryExtracts the BackgroundTorQ's ChangesNew files
Differences from TorQ original
Exported APIgrafana:use`di.grafana
grafana.init[deps] / wire dependencies + config, install handlers; required before use
grafana.getconfig[] / return the currently active configuration dictEverything else is driven by inbound Grafana HTTP requests via the installed handlers, so it is intentionally not exported.
grafana.init[enlist[`log]!enlist logdep] / logger only, default config
grafana.init[`log`config!(logdep;`ticks!500)] / logger + config overridesQuery target syntax
Test coverageRun via k4unit:
Total: 32 tests, all passing. Notes
logdep:`info`warn`error!(log.info;log.warn;log.error)
|