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:
@@ -33,4 +33,4 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/truenas-exporter
|
||||
- https://hub.docker.com/r/prom/graphite-exporter
|
||||
type: application
|
||||
version: 3.6.1
|
||||
version: 3.6.2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -67,32 +67,100 @@ configmap:
|
||||
# memory mapping
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.system.ram.*"
|
||||
- match: 'truenas\.(.*)\.system\.ram\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "physical_memory"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "${2}"
|
||||
|
||||
- match: "truenas.*.mem.*.*"
|
||||
- match: 'truenas\.(.*)\.mem\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "memory_${2}"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "${3}"
|
||||
|
||||
- match: "truenas.*.system.swap.*"
|
||||
- match: 'truenas\.(.*)\.system\.swap\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "swap"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
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
|
||||
################################################
|
||||
|
||||
- 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"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -103,7 +171,8 @@ configmap:
|
||||
# disk operation mappings
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.disk.*.*"
|
||||
- match: 'truenas\.(.*)\.disk\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -111,7 +180,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ops.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ops\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io_ops"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -119,7 +189,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -127,7 +198,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext_ops.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext_ops\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io_ops"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -135,28 +207,32 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_backlog.*.backlog"
|
||||
- match: 'truenas\.(.*)\.disk_backlog\.(.*)\.backlog'
|
||||
match_type: "regex"
|
||||
name: "disk_io_backlog"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
disk: "${2}"
|
||||
|
||||
- match: "truenas.*.disk_busy.*.busy"
|
||||
- match: 'truenas\.(.*)\.disk_busy\.(.*)\.busy'
|
||||
match_type: "regex"
|
||||
name: "disk_busy"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
disk: "${2}"
|
||||
|
||||
- match: "truenas.*.disk_util.*.utilization"
|
||||
- match: 'truenas\.(.*)\.disk_util\.(.*)\.utilization'
|
||||
match_type: "regex"
|
||||
name: "disk_utilization"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
disk: "${2}"
|
||||
|
||||
- match: "truenas.*.disk_mops.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_mops\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -164,7 +240,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "merged_${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext_mops.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext_mops\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -172,7 +249,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "merged_${3}"
|
||||
|
||||
- match: "truenas.*.disk_iotime.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_iotime\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_iotime"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -180,7 +258,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext_iotime.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext_iotime\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_iotime"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -188,14 +267,16 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_qops.*.operations"
|
||||
- match: 'truenas\.(.*)\.disk_qops\.(.*)\.operations'
|
||||
match_type: "regex"
|
||||
name: "disk_qops"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
disk: "${2}"
|
||||
|
||||
- match: "truenas.*.disk_await.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_await\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_await"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -203,7 +284,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext_await.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext_await\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_await"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -211,7 +293,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_avgsz.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_avgsz\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io_size"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -219,7 +302,8 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_ext_avgsz.*.*"
|
||||
- match: 'truenas\.(.*)\.disk_ext_avgsz\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "disk_io_size"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -227,14 +311,16 @@ configmap:
|
||||
disk: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.disk_svctm.*.svctm"
|
||||
- match: 'truenas\.(.*)\.disk_svctm\.(.*)\.svctm'
|
||||
match_type: "regex"
|
||||
name: "disk_svctm"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
disk: "${2}"
|
||||
|
||||
- match: "truenas.*.system.io.*"
|
||||
- match: 'truenas\.(.*)\.system\.io\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "system_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -245,55 +331,63 @@ configmap:
|
||||
# CPU mapping
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.system.intr.interrupts"
|
||||
- match: 'truenas\.(.*)\.system\.intr\.interrupts'
|
||||
match_type: "regex"
|
||||
name: "interrupts"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "hard"
|
||||
|
||||
- match: "truenas.*.system.cpu.softirq"
|
||||
- match: 'truenas\.(.*)\.system\.cpu\.softirq'
|
||||
match_type: "regex"
|
||||
name: "interrupts"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "soft"
|
||||
|
||||
- match: "truenas.*.cpu.*.softirq"
|
||||
- match: 'truenas\.(.*)\.cpu\.(.*)\.softirq'
|
||||
match_type: "regex"
|
||||
name: "cpu_softirq"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
cpu: "${2}"
|
||||
|
||||
- match: "truenas.*.system.ctxt.switches"
|
||||
- match: 'truenas\.(.*)\.system\.ctxt\.switches'
|
||||
match_type: "regex"
|
||||
name: "context_switches"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
|
||||
- match: "truenas.*.system.cpu.*"
|
||||
- match: 'truenas\.(.*)\.system\.cpu\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "cpu_total"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "${2}"
|
||||
|
||||
- match: "truenas.*.cputemp.temperatures.*"
|
||||
- match: 'truenas\.(.*)\.cputemp\.temperatures\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "cpu_temperature"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
cpu: "cpu${2}"
|
||||
|
||||
- match: "truenas.*.cpu.core_throttling.*"
|
||||
- match: 'truenas\.(.*)\.cpu\.core_throttling\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "cpu_throttling"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
cpu: "${2}"
|
||||
|
||||
- match: "truenas.*.cpu.cpufreq.*"
|
||||
- match: 'truenas\.(.*)\.cpu\.cpufreq\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "cpu_frequency"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -322,20 +416,23 @@ configmap:
|
||||
# process mapping
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.system.forks.started"
|
||||
- match: 'truenas\.(.*)\.system\.forks\.started'
|
||||
match_type: "regex"
|
||||
name: "processes_forks"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
|
||||
- match: "truenas.*.system.processes.*"
|
||||
- match: 'truenas\.(.*)\.system\.processes\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "processes"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
kind: "${2}"
|
||||
|
||||
- match: "truenas.*.system.active_processes.*"
|
||||
- match: 'truenas\.(.*)\.system\.active_processes\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "processes"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -346,26 +443,30 @@ configmap:
|
||||
# uptime mapping
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.system.uptime.uptime"
|
||||
- match: 'truenas\.(.*)\.system\.uptime\.uptime'
|
||||
match_type: "regex"
|
||||
name: "uptime"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
|
||||
- match: "truenas.*.system.clock_sync_state.state"
|
||||
- match: 'truenas\.(.*)\.system\.clock_sync_state\.state'
|
||||
match_type: "regex"
|
||||
name: "clock_synced"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
|
||||
- match: "truenas.*.system.clock_status.*"
|
||||
- match: 'truenas\.(.*)\.system\.clock_status\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "clock_status"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
state: "${2}"
|
||||
|
||||
- match: "truenas.*.system.clock_sync_offset.offset"
|
||||
- match: 'truenas\.(.*)\.system\.clock_sync_offset\.offset'
|
||||
match_type: "regex"
|
||||
name: "clock_offset"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -375,7 +476,8 @@ configmap:
|
||||
# load mapping
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.system.load.*"
|
||||
- match: 'truenas\.(.*)\.system\.load\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "system_load"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -386,7 +488,8 @@ configmap:
|
||||
# nsfd mappings
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.nfsd.*.*"
|
||||
- match: 'truenas\.(.*)\.nfsd\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "nfs_${2}"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -397,7 +500,8 @@ configmap:
|
||||
# zfs mappings
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.zfs.*.*"
|
||||
- match: 'truenas\.(.*)\.zfs\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "zfs_${2}"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -417,7 +521,8 @@ configmap:
|
||||
# network mappings
|
||||
################################################
|
||||
|
||||
- match: "truenas.*.net.*.*"
|
||||
- match: 'truenas\.(.*)\.net\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -425,14 +530,16 @@ configmap:
|
||||
interface: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.net_speed.*.speed"
|
||||
- match: 'truenas\.(.*)\.net_speed\.(.*)\.speed'
|
||||
match_type: "regex"
|
||||
name: "interface_speed"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
interface: "${2}"
|
||||
|
||||
- match: "truenas.*.net_duplex.*.*"
|
||||
- match: 'truenas\.(.*)\.net_duplex\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_duplex"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -440,7 +547,8 @@ configmap:
|
||||
interface: "${2}"
|
||||
state: "${3}"
|
||||
|
||||
- match: "truenas.*.net_operstate.*.*"
|
||||
- match: 'truenas\.(.*)\.net_operstate\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_operationstate"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -448,7 +556,8 @@ configmap:
|
||||
interface: "${2}"
|
||||
state: "${3}"
|
||||
|
||||
- match: "truenas.*.net_carrier.*.*"
|
||||
- match: 'truenas\.(.*)\.net_carrier\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_carrierstate"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -456,14 +565,16 @@ configmap:
|
||||
interface: "${2}"
|
||||
state: "${3}"
|
||||
|
||||
- match: "truenas.*.net_mtu.*.mtu"
|
||||
- match: 'truenas\.(.*)\.net_mtu\.(.*)\.mtu'
|
||||
match_type: "regex"
|
||||
name: "interface_mtu"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
interface: "${2}"
|
||||
|
||||
- match: "truenas.*.net_packets.*.*"
|
||||
- match: 'truenas\.(.*)\.net_packets\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_packets"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -471,7 +582,8 @@ configmap:
|
||||
interface: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.net_errors.*.*"
|
||||
- match: 'truenas\.(.*)\.net_errors\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_errors"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -479,7 +591,8 @@ configmap:
|
||||
interface: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.net_drops.*.*"
|
||||
- match: 'truenas\.(.*)\.net_drops\.(.*)\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "interface_drops"
|
||||
labels:
|
||||
job: "truenas"
|
||||
@@ -487,9 +600,249 @@ configmap:
|
||||
interface: "${2}"
|
||||
op: "${3}"
|
||||
|
||||
- match: "truenas.*.system.net.*"
|
||||
- match: 'truenas\.(.*)\.system\.net\.(.*)'
|
||||
match_type: "regex"
|
||||
name: "system_net_io"
|
||||
labels:
|
||||
job: "truenas"
|
||||
instance: "${1}"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user