瀏覽代碼

rewrite rules definition

tags/2016.12
Ales Komarek 9 年之前
父節點
當前提交
252d5f20b0
共有 1 個檔案被更改,包括 76 行新增0 行删除
  1. +76
    -0
      linux/meta/graphite.yml

+ 76
- 0
linux/meta/graphite.yml 查看文件

@@ -0,0 +1,76 @@
rewrite_rule:
"\.cpu-idle\.value$": ".idle"
"\.cpu-interrupt\.value$": ".interrupt"
"\.cpu-nice\.value$": ".nice"
"\.cpu-softirq\.value$": ".softirq"
"\.cpu-steal\.value$": ".steal"
"\.cpu-system\.value$": ".system"
"\.cpu-user\.value$": ".user"
"\.cpu-wait\.value$": ".wait"
"\.cpu\.idle$": ".idle"
"\.cpu\.interrupt$": ".interrupt"
"\.cpu\.nice$": ".nice"
"\.cpu\.softirq$": ".softirq"
"\.cpu\.steal$": ".steal"
"\.cpu\.system$": ".system"
"\.cpu\.user$": ".user"
"\.cpu\.wait$": ".wait"
"\.cpu-idle$": ".idle"
"\.cpu-interrupt$": ".interrupt"
"\.cpu-nice$": ".nice"
"\.cpu-softirq$": ".softirq"
"\.cpu-steal$": ".steal"
"\.cpu-system$": ".system"
"\.cpu-user$": ".user"
"\.cpu-wait$": ".wait"
"\.cpu-": ".cpu."
"\.df_complex-free\.value$": ".free"
"\.df_complex-reserved\.value$": ".reserved"
"\.df_complex-used\.value$": ".used"

"\.df_complex-free$": ".free"
"\.df_complex-reserved$": ".reserved"
"\.df_complex-used$": ".used"
"\.df_complex\.free$": ".free"
"\.df_complex\.reserved$": ".reserved"
"\.df_complex\.used$": ".used"
"\.df-": ".partition."
"\.df\.": ".partition."

"\.disk_merged\.read$": ".merged_reads"
"\.disk_merged\.write$": ".merged_writes"
"\.disk_octets\.read$": ".read_octets"
"\.disk_octets\.write$": ".write_octets"
"\.disk_ops\.read$": ".read_ops"
"\.disk_ops\.write$": ".write_ops"
"\.disk_time\.read$": ".read_time"
"\.disk_time\.write$": ".write_time"
"\.disk-": ".disk."

"\.entropy\.entropy\.value$": ".system.entropy"
"\.entropy\.entropy$": ".system.entropy"

"\.if_errors\.tx": ".tx_errors"
"\.if_errors\.rx": ".rx_errors"
"\.if_octets\.tx": ".tx_octets"
"\.if_octets\.rx": ".rx_octets"
"\.if_packets\.tx": ".tx_packets"
"\.if_packets\.rx": ".rx_packets"
"\.interface-": ".interface."

"load\.load\.midterm$": "load.mid_term"
"load\.load\.shortterm$": "load.short_term"
"load\.load\.longterm$": "load.long_term"

"memory\.memory-buffered\.value$": "memory.buffered"
"memory\.memory-cached\.value$": "memory.cached"
"memory\.memory-free\.value$": "memory.free"
"memory\.memory-used\.value$": "memory.used"
"memory\.memory\.buffered$": "memory.buffered"
"memory\.memory\.cached$": "memory.cached"
"memory\.memory\.free$": "memory.free"
"memory\.memory\.used$": "memory.used"
"memory\.memory-buffered$": "memory.buffered"
"memory\.memory-cached$": "memory.cached"
"memory\.memory-free$": "memory.free"
"memory\.memory-used$": "memory.used"

Loading…
取消
儲存