How to config different peroid for different metricset of system module?

system module contains some useful metricset: cpu memory diskio network... but they share a single peroid configuration item, which means we are not able to use different frequency for different metricset.

is there any workaround? or is there any need to add support in future releases?

Hi @PChou,

You can always instantiate the module several times, with different metricsets, actually, we ship exactly that in the defaults:

- module: system
  period: 10s
    - cpu
    - load
    - memory
    - network
    - process
    - process_summary
    #- core
    #- diskio
    #- socket
  processes: ['.*']
    by_cpu: 5      # include top 5 processes by CPU
    by_memory: 5   # include top 5 processes by memory

- module: system
  period: 1m
    - filesystem
    - fsstat

- module: system
  period: 15m
    - uptime

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.