fix(truenas-exporter): graphite_mapping and dashboard (#33351)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
Updated to the latest graphite_mapping and also updated the dashboard to
the most recent version.

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->
All added as configmaps on my own cluster.

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Boemeltrein
2025-03-17 19:44:36 +01:00
committed by GitHub
parent b1448fb61d
commit afd707ecee
3 changed files with 6477 additions and 5518 deletions
+1 -1
View File
@@ -33,4 +33,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/truenas-exporter - https://github.com/truecharts/charts/tree/master/charts/stable/truenas-exporter
- https://hub.docker.com/r/prom/graphite-exporter - https://hub.docker.com/r/prom/graphite-exporter
type: application type: application
version: 3.6.1 version: 3.6.2
File diff suppressed because it is too large Load Diff
+403 -50
View File
@@ -67,32 +67,100 @@ configmap:
# memory mapping # memory mapping
################################################ ################################################
- match: "truenas.*.system.ram.*" - match: 'truenas\.(.*)\.system\.ram\.(.*)'
match_type: "regex"
name: "physical_memory" name: "physical_memory"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "${2}" kind: "${2}"
- match: "truenas.*.mem.*.*" - match: 'truenas\.(.*)\.mem\.(.*)\.(.*)'
match_type: "regex"
name: "memory_${2}" name: "memory_${2}"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "${3}" kind: "${3}"
- match: "truenas.*.system.swap.*" - match: 'truenas\.(.*)\.system\.swap\.(.*)'
match_type: "regex"
name: "swap" name: "swap"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "${2}" kind: "${2}"
################################################
# service mapping
################################################
- match: 'truenas\.(.*)\.services\.cpu\.(.*)'
match_type: "regex"
name: "services_cpu"
labels:
job: "truenas"
instance: "${1}"
service: "${2}"
- match: 'truenas\.(.*)\.services\.io_ops_read\.(.*)'
match_type: "regex"
name: "services_iops"
labels:
job: "truenas"
instance: "${1}"
op: "read"
service: "${2}"
- match: 'truenas\.(.*)\.services\.io_ops_write\.(.*)'
match_type: "regex"
name: "services_iops"
labels:
job: "truenas"
instance: "${1}"
op: "write"
service: "${2}"
- match: 'truenas\.(.*)\.services\.io_read\.(.*)'
match_type: "regex"
name: "services_io"
labels:
job: "truenas"
instance: "${1}"
op: "read"
service: "${2}"
- match: 'truenas\.(.*)\.services\.io_write\.(.*)'
match_type: "regex"
name: "services_io"
labels:
job: "truenas"
instance: "${1}"
op: "write"
service: "${2}"
- match: 'truenas\.(.*)\.services\.mem_usage\.(.*)'
match_type: "regex"
name: "services_mem"
labels:
job: "truenas"
instance: "${1}"
service: "${2}"
################################################ ################################################
# disk smart metrics # disk smart metrics
################################################ ################################################
- match: "truenas.*.smart.log.smart.disktemp.*.*" - match: 'truenas\.(.*)\.smart\.log\.smart\.disktemp\.(.*)\.(.*)'
match_type: "regex"
name: "disk_temperature"
labels:
job: "truenas"
instance: "${1}"
serial: "${2}"
- match: 'truenas\.(.*)\.smart_log_smart\.disktemp\.(.*)\.(.*)'
match_type: "regex"
name: "disk_temperature" name: "disk_temperature"
labels: labels:
job: "truenas" job: "truenas"
@@ -103,7 +171,8 @@ configmap:
# disk operation mappings # disk operation mappings
################################################ ################################################
- match: "truenas.*.disk.*.*" - match: 'truenas\.(.*)\.disk\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io" name: "disk_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -111,7 +180,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ops.*.*" - match: 'truenas\.(.*)\.disk_ops\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io_ops" name: "disk_io_ops"
labels: labels:
job: "truenas" job: "truenas"
@@ -119,7 +189,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ext.*.*" - match: 'truenas\.(.*)\.disk_ext\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io" name: "disk_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -127,7 +198,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ext_ops.*.*" - match: 'truenas\.(.*)\.disk_ext_ops\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io_ops" name: "disk_io_ops"
labels: labels:
job: "truenas" job: "truenas"
@@ -135,28 +207,32 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_backlog.*.backlog" - match: 'truenas\.(.*)\.disk_backlog\.(.*)\.backlog'
match_type: "regex"
name: "disk_io_backlog" name: "disk_io_backlog"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
disk: "${2}" disk: "${2}"
- match: "truenas.*.disk_busy.*.busy" - match: 'truenas\.(.*)\.disk_busy\.(.*)\.busy'
match_type: "regex"
name: "disk_busy" name: "disk_busy"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
disk: "${2}" disk: "${2}"
- match: "truenas.*.disk_util.*.utilization" - match: 'truenas\.(.*)\.disk_util\.(.*)\.utilization'
match_type: "regex"
name: "disk_utilization" name: "disk_utilization"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
disk: "${2}" disk: "${2}"
- match: "truenas.*.disk_mops.*.*" - match: 'truenas\.(.*)\.disk_mops\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io" name: "disk_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -164,7 +240,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "merged_${3}" op: "merged_${3}"
- match: "truenas.*.disk_ext_mops.*.*" - match: 'truenas\.(.*)\.disk_ext_mops\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io" name: "disk_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -172,7 +249,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "merged_${3}" op: "merged_${3}"
- match: "truenas.*.disk_iotime.*.*" - match: 'truenas\.(.*)\.disk_iotime\.(.*)\.(.*)'
match_type: "regex"
name: "disk_iotime" name: "disk_iotime"
labels: labels:
job: "truenas" job: "truenas"
@@ -180,7 +258,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ext_iotime.*.*" - match: 'truenas\.(.*)\.disk_ext_iotime\.(.*)\.(.*)'
match_type: "regex"
name: "disk_iotime" name: "disk_iotime"
labels: labels:
job: "truenas" job: "truenas"
@@ -188,14 +267,16 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_qops.*.operations" - match: 'truenas\.(.*)\.disk_qops\.(.*)\.operations'
match_type: "regex"
name: "disk_qops" name: "disk_qops"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
disk: "${2}" disk: "${2}"
- match: "truenas.*.disk_await.*.*" - match: 'truenas\.(.*)\.disk_await\.(.*)\.(.*)'
match_type: "regex"
name: "disk_await" name: "disk_await"
labels: labels:
job: "truenas" job: "truenas"
@@ -203,7 +284,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ext_await.*.*" - match: 'truenas\.(.*)\.disk_ext_await\.(.*)\.(.*)'
match_type: "regex"
name: "disk_await" name: "disk_await"
labels: labels:
job: "truenas" job: "truenas"
@@ -211,7 +293,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_avgsz.*.*" - match: 'truenas\.(.*)\.disk_avgsz\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io_size" name: "disk_io_size"
labels: labels:
job: "truenas" job: "truenas"
@@ -219,7 +302,8 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_ext_avgsz.*.*" - match: 'truenas\.(.*)\.disk_ext_avgsz\.(.*)\.(.*)'
match_type: "regex"
name: "disk_io_size" name: "disk_io_size"
labels: labels:
job: "truenas" job: "truenas"
@@ -227,14 +311,16 @@ configmap:
disk: "${2}" disk: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.disk_svctm.*.svctm" - match: 'truenas\.(.*)\.disk_svctm\.(.*)\.svctm'
match_type: "regex"
name: "disk_svctm" name: "disk_svctm"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
disk: "${2}" disk: "${2}"
- match: "truenas.*.system.io.*" - match: 'truenas\.(.*)\.system\.io\.(.*)'
match_type: "regex"
name: "system_io" name: "system_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -245,55 +331,63 @@ configmap:
# CPU mapping # CPU mapping
################################################ ################################################
- match: "truenas.*.system.intr.interrupts" - match: 'truenas\.(.*)\.system\.intr\.interrupts'
match_type: "regex"
name: "interrupts" name: "interrupts"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "hard" kind: "hard"
- match: "truenas.*.system.cpu.softirq" - match: 'truenas\.(.*)\.system\.cpu\.softirq'
match_type: "regex"
name: "interrupts" name: "interrupts"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "soft" kind: "soft"
- match: "truenas.*.cpu.*.softirq" - match: 'truenas\.(.*)\.cpu\.(.*)\.softirq'
match_type: "regex"
name: "cpu_softirq" name: "cpu_softirq"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
cpu: "${2}" cpu: "${2}"
- match: "truenas.*.system.ctxt.switches" - match: 'truenas\.(.*)\.system\.ctxt\.switches'
match_type: "regex"
name: "context_switches" name: "context_switches"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
- match: "truenas.*.system.cpu.*" - match: 'truenas\.(.*)\.system\.cpu\.(.*)'
match_type: "regex"
name: "cpu_total" name: "cpu_total"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "${2}" kind: "${2}"
- match: "truenas.*.cputemp.temperatures.*" - match: 'truenas\.(.*)\.cputemp\.temperatures\.(.*)'
match_type: "regex"
name: "cpu_temperature" name: "cpu_temperature"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
cpu: "cpu${2}" cpu: "cpu${2}"
- match: "truenas.*.cpu.core_throttling.*" - match: 'truenas\.(.*)\.cpu\.core_throttling\.(.*)'
match_type: "regex"
name: "cpu_throttling" name: "cpu_throttling"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
cpu: "${2}" cpu: "${2}"
- match: "truenas.*.cpu.cpufreq.*" - match: 'truenas\.(.*)\.cpu\.cpufreq\.(.*)'
match_type: "regex"
name: "cpu_frequency" name: "cpu_frequency"
labels: labels:
job: "truenas" job: "truenas"
@@ -322,20 +416,23 @@ configmap:
# process mapping # process mapping
################################################ ################################################
- match: "truenas.*.system.forks.started" - match: 'truenas\.(.*)\.system\.forks\.started'
match_type: "regex"
name: "processes_forks" name: "processes_forks"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
- match: "truenas.*.system.processes.*" - match: 'truenas\.(.*)\.system\.processes\.(.*)'
match_type: "regex"
name: "processes" name: "processes"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
kind: "${2}" kind: "${2}"
- match: "truenas.*.system.active_processes.*" - match: 'truenas\.(.*)\.system\.active_processes\.(.*)'
match_type: "regex"
name: "processes" name: "processes"
labels: labels:
job: "truenas" job: "truenas"
@@ -346,26 +443,30 @@ configmap:
# uptime mapping # uptime mapping
################################################ ################################################
- match: "truenas.*.system.uptime.uptime" - match: 'truenas\.(.*)\.system\.uptime\.uptime'
match_type: "regex"
name: "uptime" name: "uptime"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
- match: "truenas.*.system.clock_sync_state.state" - match: 'truenas\.(.*)\.system\.clock_sync_state\.state'
match_type: "regex"
name: "clock_synced" name: "clock_synced"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
- match: "truenas.*.system.clock_status.*" - match: 'truenas\.(.*)\.system\.clock_status\.(.*)'
match_type: "regex"
name: "clock_status" name: "clock_status"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
state: "${2}" state: "${2}"
- match: "truenas.*.system.clock_sync_offset.offset" - match: 'truenas\.(.*)\.system\.clock_sync_offset\.offset'
match_type: "regex"
name: "clock_offset" name: "clock_offset"
labels: labels:
job: "truenas" job: "truenas"
@@ -375,7 +476,8 @@ configmap:
# load mapping # load mapping
################################################ ################################################
- match: "truenas.*.system.load.*" - match: 'truenas\.(.*)\.system\.load\.(.*)'
match_type: "regex"
name: "system_load" name: "system_load"
labels: labels:
job: "truenas" job: "truenas"
@@ -386,7 +488,8 @@ configmap:
# nsfd mappings # nsfd mappings
################################################ ################################################
- match: "truenas.*.nfsd.*.*" - match: 'truenas\.(.*)\.nfsd\.(.*)\.(.*)'
match_type: "regex"
name: "nfs_${2}" name: "nfs_${2}"
labels: labels:
job: "truenas" job: "truenas"
@@ -397,7 +500,8 @@ configmap:
# zfs mappings # zfs mappings
################################################ ################################################
- match: "truenas.*.zfs.*.*" - match: 'truenas\.(.*)\.zfs\.(.*)\.(.*)'
match_type: "regex"
name: "zfs_${2}" name: "zfs_${2}"
labels: labels:
job: "truenas" job: "truenas"
@@ -417,7 +521,8 @@ configmap:
# network mappings # network mappings
################################################ ################################################
- match: "truenas.*.net.*.*" - match: 'truenas\.(.*)\.net\.(.*)\.(.*)'
match_type: "regex"
name: "interface_io" name: "interface_io"
labels: labels:
job: "truenas" job: "truenas"
@@ -425,14 +530,16 @@ configmap:
interface: "${2}" interface: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.net_speed.*.speed" - match: 'truenas\.(.*)\.net_speed\.(.*)\.speed'
match_type: "regex"
name: "interface_speed" name: "interface_speed"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
interface: "${2}" interface: "${2}"
- match: "truenas.*.net_duplex.*.*" - match: 'truenas\.(.*)\.net_duplex\.(.*)\.(.*)'
match_type: "regex"
name: "interface_duplex" name: "interface_duplex"
labels: labels:
job: "truenas" job: "truenas"
@@ -440,7 +547,8 @@ configmap:
interface: "${2}" interface: "${2}"
state: "${3}" state: "${3}"
- match: "truenas.*.net_operstate.*.*" - match: 'truenas\.(.*)\.net_operstate\.(.*)\.(.*)'
match_type: "regex"
name: "interface_operationstate" name: "interface_operationstate"
labels: labels:
job: "truenas" job: "truenas"
@@ -448,7 +556,8 @@ configmap:
interface: "${2}" interface: "${2}"
state: "${3}" state: "${3}"
- match: "truenas.*.net_carrier.*.*" - match: 'truenas\.(.*)\.net_carrier\.(.*)\.(.*)'
match_type: "regex"
name: "interface_carrierstate" name: "interface_carrierstate"
labels: labels:
job: "truenas" job: "truenas"
@@ -456,14 +565,16 @@ configmap:
interface: "${2}" interface: "${2}"
state: "${3}" state: "${3}"
- match: "truenas.*.net_mtu.*.mtu" - match: 'truenas\.(.*)\.net_mtu\.(.*)\.mtu'
match_type: "regex"
name: "interface_mtu" name: "interface_mtu"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
interface: "${2}" interface: "${2}"
- match: "truenas.*.net_packets.*.*" - match: 'truenas\.(.*)\.net_packets\.(.*)\.(.*)'
match_type: "regex"
name: "interface_packets" name: "interface_packets"
labels: labels:
job: "truenas" job: "truenas"
@@ -471,7 +582,8 @@ configmap:
interface: "${2}" interface: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.net_errors.*.*" - match: 'truenas\.(.*)\.net_errors\.(.*)\.(.*)'
match_type: "regex"
name: "interface_errors" name: "interface_errors"
labels: labels:
job: "truenas" job: "truenas"
@@ -479,7 +591,8 @@ configmap:
interface: "${2}" interface: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.net_drops.*.*" - match: 'truenas\.(.*)\.net_drops\.(.*)\.(.*)'
match_type: "regex"
name: "interface_drops" name: "interface_drops"
labels: labels:
job: "truenas" job: "truenas"
@@ -487,9 +600,249 @@ configmap:
interface: "${2}" interface: "${2}"
op: "${3}" op: "${3}"
- match: "truenas.*.system.net.*" - match: 'truenas\.(.*)\.system\.net\.(.*)'
match_type: "regex"
name: "system_net_io" name: "system_net_io"
labels: labels:
job: "truenas" job: "truenas"
instance: "${1}" instance: "${1}"
op: "${2}" op: "${2}"
################################################
# k3s mappings
################################################
- match: 'truenas\.(.*)\.k3s_stats\.k3s_pod_stats\.(.*)\.cpu'
match_type: "regex"
name: "k3s_pod_cpu"
labels:
job: "truenas"
instance: "${1}"
pod: "${2}"
- match: 'truenas\.(.*)\.k3s_stats\.k3s_pod_stats\.(.*)\.mem'
match_type: "regex"
name: "k3s_pod_mem"
labels:
job: "truenas"
instance: "${1}"
pod: "${2}"
- match: 'truenas\.(.*)\.k3s_stats\.k3s_pod_stats\.(.*)\.net\.(.*)'
match_type: "regex"
name: "k3s_pod_net"
labels:
job: "truenas"
instance: "${1}"
pod: "${2}"
direction: "${3}"
################################################
# cgroup mappings
################################################
- match: 'truenas\.(.*)\.(.*)\.cpu_full_pressure\.(.*)'
match_type: "regex"
name: "cgroup_cpu_full_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.cpu_full_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_cpu_full_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.cpu_limit\.used'
match_type: "regex"
name: "cgroup_cpu_limit"
labels:
job: "truenas"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.cpu_some_pressure\.(.*)'
match_type: "regex"
name: "cgroup_cpu_some_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.cpu_some_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_cpu_some_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.cpu\.(.*)'
match_type: "regex"
name: "cgroup_cpu_usage"
labels:
job: "truenas"
type: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.io_full_pressure\.(.*)'
match_type: "regex"
name: "cgroup_io_full_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.io_full_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_io_full_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.io_some_pressure\.(.*)'
match_type: "regex"
name: "cgroup_io_some_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.io_some_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_io_some_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.mem_full_pressure\.(.*)'
match_type: "regex"
name: "cgroup_mem_full_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.mem_full_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_mem_full_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.mem_some_pressure\.(.*)'
match_type: "regex"
name: "cgroup_mem_some_pressure"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.mem_some_pressure_stall_time\.time'
match_type: "regex"
name: "cgroup_mem_some_pressure_stall_time"
labels:
job: "truenas"
dimension: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.mem_usage\.(.*)'
match_type: "regex"
name: "cgroup_mem_usage"
labels:
job: "truenas"
type: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "MiB"
- match: 'truenas\.(.*)\.(.*)\.mem_usage_limit\.(.*)'
match_type: "regex"
name: "cgroup_mem_usage_limit"
labels:
job: "truenas"
type: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "MiB"
- match: 'truenas\.(.*)\.(.*)\.mem_utilization'
match_type: "regex"
name: "cgroup_mem_utilization"
labels:
job: "truenas"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.pgfaults\.(.*)'
match_type: "regex"
name: "cgroup_pgfaults"
labels:
job: "truenas"
type: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "MiB/s"
- match: 'truenas\.(.*)\.(.*)\.throttled'
match_type: "regex"
name: "cgroup_cpu_throttled"
labels:
job: "truenas"
instance: "${1}"
cgroup: "${2}"
unit: "percent"
- match: 'truenas\.(.*)\.(.*)\.throttled_duration'
match_type: "regex"
name: "cgroup_cpu_throttled_duration"
labels:
job: "truenas"
instance: "${1}"
cgroup: "${2}"
unit: "ms"
- match: 'truenas\.(.*)\.(.*)\.writeback\.(.*)'
match_type: "regex"
name: "cgroup_writeback"
labels:
job: "truenas"
type: "${3}"
instance: "${1}"
cgroup: "${2}"
unit: "MiB"