grafana
homelab.grafana
| Name | Type | Default | Description |
|---|---|---|---|
alerting. |
attribute set of list of (submodule) | { } |
Where notifications go: each contact point a list of Grafana … |
|
Where notifications go: each contact point a list of Grafana integrations (email, webhook, telegram, pushover,
...). Secrets stay out of here: a setting can name an environment variable as Default Example Declared in |
|||
alerting. |
boolean | false |
Whether to leave out the message when an alert resolves. |
|
Whether to leave out the message when an alert resolves. Default Declared in |
|||
alerting. |
attribute set of anything | { } |
The integration's settings, as Grafana's provisioning takes them. |
|
The integration's settings, as Grafana's provisioning takes them. Default Declared in |
|||
alerting. |
string | — | The integration's type, as Grafana names it. |
|
The integration's type, as Grafana names it. Declared in |
|||
alerting. |
boolean | config. |
Whether to enable Grafana alerting provisioned from Nix. |
|
Whether to enable Grafana alerting provisioned from Nix. Default Example Declared in |
|||
alerting. |
list of string | [ ] |
Secrets in Grafana's namespace whose keys reach Grafana as environment … |
|
Secrets in Grafana's namespace whose keys reach Grafana as environment variables, for the settings of
Default Declared in |
|||
alerting. |
string | "Homelab" |
The Grafana folder the rules are in. |
|
The Grafana folder the rules are in. Default Declared in |
|||
alerting. |
list of string | [ "grafana_folder"… |
The labels alerts are grouped into one notification by. |
|
The labels alerts are grouped into one notification by. Default Declared in |
|||
alerting. |
string | "5m" |
How long a group waits before notifying of alerts added to it. |
|
How long a group waits before notifying of alerts added to it. Default Declared in |
|||
alerting. |
string | "1m" |
How long a new group waits for more alerts before its first … |
|
How long a new group waits for more alerts before its first notification. Default Declared in |
|||
alerting. |
attribute set of (submodule) | { } |
Alert rules by group, evaluated together every interval. |
|
Alert rules by group, evaluated together every Default Declared in |
|||
alerting. |
string | "1m" |
How often the group's rules are evaluated. |
|
How often the group's rules are evaluated. Default Declared in |
|||
alerting. |
attribute set of attribute set of anything | { } |
The group's rules, as lib.grafana.alert builds them (Grafana's … |
|
The group's rules, as Default Declared in |
|||
alerting. |
attribute set of string (read-only) | { message = "{{… |
Notification texts for a contact point's settings, from the templates … |
|
Notification texts for a contact point's settings, from the templates this module provisions: Default Declared in |
|||
alerting. |
null or string | null |
The contact point alerts of severity critical go to; null to notify … |
|
The contact point alerts of severity Default Declared in |
|||
alerting. |
null or string | null |
The contact point alerts of severity warning go to; null to notify … |
|
The contact point alerts of severity Default Declared in |
|||
alerting. |
string | "4h" |
How often a firing critical alert is notified again. |
|
How often a firing critical alert is notified again. Default Declared in |
|||
alerting. |
string | "12h" |
How often a firing warning is notified again. |
|
How often a firing warning is notified again. Default Declared in |
|||
apiServerAccess |
boolean | false |
Whether to enable the API server's service proxy reaching Grafana's web … |
|
Whether to enable the API server's service proxy reaching Grafana's web port. Grafana trusts the login headers of whatever
reaches it, and the proxy forwards a client's headers, so whoever may Default Example Declared in |
|||
dashboards |
attribute set of (submodule) | { } |
Dashboards Grafana provisions, read-only in its UI. |
|
Dashboards Grafana provisions, read-only in its UI. A module adds its own in a Default Example Declared in |
|||
dashboards. |
absolute path or attribute set of anything | — | The dashboard: an attrset rendered as JSON (lib.grafana.dashboard, or … |
|
The dashboard: an attrset rendered as JSON ( Declared in |
|||
dashboards. |
string | "Homelab" |
The Grafana folder the dashboard is in. |
|
The Grafana folder the dashboard is in. Default Declared in |
|||
drilldown. |
attribute set of (submodule) | { } |
The rows of the Workload dashboard, from the modules' grafana.nix. |
|
The rows of the Workload dashboard, from the modules' grafana.nix. A row with a Default Declared in |
|||
drilldown. |
signed integer | 500 |
Where the row goes: lower first, rows for every workload at 100 to 199 … |
|
Where the row goes: lower first, rows for every workload at 100 to 199 by convention. Default Declared in |
|||
drilldown. |
attribute set of anything | { } |
The row, from lib.grafana.row. |
|
The row, from Default Declared in |
|||
drilldown. |
null or string | null |
The namespace of the workload the row is about, or null for a row every … |
|
The namespace of the workload the row is about, or null for a row every workload has. Default Declared in |
|||
drilldown. |
attribute set of attribute set of anything | { } |
Variables of the Workload dashboard besides workload, by name, which … |
|
Variables of the Workload dashboard besides Default Declared in |
|||
enable |
boolean | false |
Whether to enable grafana. |
|
Whether to enable grafana. Default Example Declared in |
|||
home. |
attribute set of attribute set of anything | { } |
Moments the Home dashboard's time series mark, from … |
|
Moments the Home dashboard's time series mark, from Default Declared in |
|||
home. |
attribute set of (submodule) | { } |
The parts of the homelab that the graphs of CPU, memory and traffic … |
|
The parts of the homelab that the graphs of CPU, memory and traffic split the containers into, by the
namespaces each module adds to its area (a repository's modules share one: media, personal, ...). A namespace
in no area counts as Default Declared in |
|||
home. |
null or string | null |
Its colour in the graphs; null picks one from a palette by the area's … |
|
Its colour in the graphs; null picks one from a palette by the area's name. Default Declared in |
|||
home. |
list of string | [ ] |
The namespaces of the area's workloads. |
|
The namespaces of the area's workloads. Default Declared in |
|||
home. |
attribute set of (submodule) | { } |
The panels below the health, packed onto the grid by order (each in … |
|
The panels below the health, packed onto the grid by Default Declared in |
|||
home. |
attribute set of anything | { } |
The plugin's fieldConfig.defaults.custom, over the graph's own. |
|
The plugin's fieldConfig.defaults.custom, over the graph's own. Default Declared in |
|||
home. |
null or signed integer | null |
Decimals shown. |
|
Decimals shown. Default Declared in |
|||
home. |
string | — | What the panel shows and how it's computed. |
|
What the panel shows and how it's computed. Declared in |
|||
home. |
positive integer, meaning >0 | 8 |
Its height in grid rows, of 30 pixels. |
|
Its height in grid rows, of 30 pixels. Default Declared in |
|||
home. |
null or string or attribute set of anything | null |
Its legend: an attrset of lib.grafana.legends, or its name. |
|
Its legend: an attrset of Default Declared in |
|||
home. |
list of attribute set of string | [ ] |
Links in the panel's header, to the dashboard with more: … |
|
Links in the panel's header, to the dashboard with more: [ { title; url; } ]. Default Declared in |
|||
home. |
null or signed integer or floating point number | null |
The axis' or gauge's maximum. |
|
The axis' or gauge's maximum. Default Declared in |
|||
home. |
null or signed integer or floating point number | null |
The axis' or gauge's minimum. |
|
The axis' or gauge's minimum. Default Declared in |
|||
home. |
attribute set of anything | { } |
The plugin's options. |
|
The plugin's options. Default Declared in |
|||
home. |
signed integer | 500 |
Where it goes, lower first. |
|
Where it goes, lower first. Default Declared in |
|||
home. |
list of attribute set of anything | [ ] |
Field overrides besides the series' own. |
|
Field overrides besides the series' own. Default Declared in |
|||
home. |
attribute set of anything | { } |
QueryOptionsSpec: maxDataPoints, interval, ... |
|
QueryOptionsSpec: maxDataPoints, interval, ... Default Declared in |
|||
home. |
attribute set of (submodule) | { } |
The series, by name: its query, and how it looks. |
|
The series, by name: its query, and how it looks. Default Declared in |
|||
home. |
boolean | false |
Whether it's drawn below the zero line (sent against received, written … |
|
Whether it's drawn below the zero line (sent against received, written against read). Default Declared in |
|||
home. |
null or string | null |
Its colour, for a query whose legend is the series' name. |
|
Its colour, for a query whose legend is the series' name. Default Declared in |
|||
home. |
signed integer | 500 |
Where it goes among the graph's series (stacking, legend), lower first. |
|
Where it goes among the graph's series (stacking, legend), lower first. Default Declared in |
|||
home. |
list of attribute set of anything | [ ] |
Field overrides of its own. |
|
Field overrides of its own. Default Declared in |
|||
home. |
attribute set of anything | { } |
The query, from lib.grafana.prom or lib.grafana.loki, its legend the … |
|
The query, from Default Declared in |
|||
home. |
boolean | false |
Whether a time series stacks its series, to show what a total is made … |
|
Whether a time series stacks its series, to show what a total is made of. Default Declared in |
|||
home. |
null or (list of attribute set of anything) | null |
Threshold steps, as lib.grafana.panel takes them; null is neutral. |
|
Threshold steps, as Default Declared in |
|||
home. |
string | — | The panel's title. |
|
The panel's title. Declared in |
|||
home. |
string | "timeseries" |
The panel plugin: timeseries, bargauge, piechart, ... |
|
The panel plugin: timeseries, bargauge, piechart, ... Default Declared in |
|||
home. |
null or string | null |
The values' unit. |
|
The values' unit. Default Declared in |
|||
home. |
integer between 1 and 24 (both inclusive) | 8 |
Its width in grid columns, of 24. |
|
Its width in grid columns, of 24. Default Declared in |
|||
home. |
attribute set of (submodule) | { } |
The kinds of things whose health the Home dashboard shows, a row each: … |
|
The kinds of things whose health the Home dashboard shows, a row each: how many are healthy of all of them,
over time and right now. Default Declared in |
|||
home. |
string | — | How many there are, as one series. |
|
How many there are, as one series. Declared in |
|||
home. |
integer or floating point number between 0 and 1 (both inclusive) | 0. |
The healthy share below which the row turns red; below 100 % it is … |
|
The healthy share below which the row turns red; below 100 % it is orange. Default Declared in |
|||
home. |
string | — | What healthy means for it, for the panel's description. |
|
What healthy means for it, for the panel's description. Declared in |
|||
home. |
string | — | How many are healthy, as one series. |
|
How many are healthy, as one series. Declared in |
|||
home. |
signed integer | 500 |
Where the row goes, lower first. |
|
Where the row goes, lower first. Default Declared in |
|||
home. |
string | "‹name›" |
The row's name. |
|
The row's name. Default Declared in |
|||
home. |
attribute set of anything | { } |
Deprecated and ignored: the single-value tiles of the old Home … |
|
Deprecated and ignored: the single-value tiles of the old Home dashboard. Modules move to Default Declared in |
|||
home. |
attribute set of attribute set of anything | { } |
Variables the panels use, by name, from lib.grafana.debugSwitch and … |
|
Variables the panels use, by name, from Default Declared in |
|||
homeDashboard |
null or string | null |
The dashboard of homelab.grafana.dashboards Grafana opens on, in place … |
|
The dashboard of Default Declared in |
|||
metrics. |
boolean | config. |
Whether Alloy scrapes Grafana's own metrics. |
|
Whether Alloy scrapes Grafana's own metrics. Default Declared in |
|||
overviews |
attribute set of (submodule) | { } |
Overview dashboards from the modules' panels, each provisioned while it … |
|
Overview dashboards from the modules' panels, each provisioned while it has panels. Its name is the dashboard's
uid; every one links to the others (tag Default Declared in |
|||
overviews. |
attribute set of attribute set of anything | { } |
Moments the board's time series mark, from lib.grafana.annotation, by … |
|
Moments the board's time series mark, from Default Declared in |
|||
overviews. |
null or string | null |
What the dashboard shows. |
|
What the dashboard shows. Default Declared in |
|||
overviews. |
attribute set of (submodule) | { } |
The panels. |
|
The panels. Those with an Default Declared in |
|||
overviews. |
positive integer, meaning >0 | 8 |
Its height in grid rows, of 30 pixels. |
|
Its height in grid rows, of 30 pixels. Default Declared in |
|||
overviews. |
signed integer | 500 |
Where it goes, lower first. |
|
Where it goes, lower first. Default Declared in |
|||
overviews. |
attribute set of anything | { } |
The panel, from lib.grafana. |
|
The panel, from Default Declared in |
|||
overviews. |
integer between 1 and 24 (both inclusive) | 8 |
Its width in grid columns, of 24. |
|
Its width in grid columns, of 24. Default Declared in |
|||
overviews. |
string | — | The dashboard's title. |
|
The dashboard's title. Declared in |
|||
overviews. |
attribute set of attribute set of anything | { } |
Variables the panels use, from lib.grafana.queryVariable, by name: … |
|
Variables the panels use, from Default Declared in |
|||
signals |
submodule | { } |
Metrics one module provides and other modules' panels use, by what they … |
|
Metrics one module provides and other modules' panels use, by what they mean rather than where they come
from: a function from a PromQL label selector ( Default Declared in |
|||
signals. |
null or (function that evaluates to a(n) string) | null |
What the nodes can allocate to pods, of a resource (cpu in cores, … |
|
What the nodes can allocate to pods, of a resource ( Default Declared in |
|||
signals. |
null or (function that evaluates to a(n) string) | null |
One series of value 1 per disk, with its device and model_name … |
|
One series of value 1 per disk, with its Default Declared in |
|||
signals. |
null or (function that evaluates to a(n) function that evaluates to a(n) string) | null |
The containers' limits of a resource together, as requests. |
|
The containers' limits of a resource together, as Default Declared in |
|||
signals. |
null or (function that evaluates to a(n) function that evaluates to a(n) string) | null |
What the containers matching the selector request of a resource … |
|
What the containers matching the selector request of a resource together: Default Declared in |
|||
homelab.homepage.integrations.grafana
| Name | Type | Default | Description |
|---|---|---|---|
enable |
boolean | false |
integration of grafana with homepage |
|
integration of grafana with homepage Default Declared in |
|||