cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vars for the interval when the data measurement is taken

henk_stobbe
DynaMight Leader
DynaMight Leader
Can I use  "vars" for the interval?
 
Like below,
 
vars:
  - id: interval_time
    displayName: Please enter interval frequency
    type: variabele
#
prometheus:
  - group: metrics
    interval: var:interval_time
 or
 
wmi:
- group: WMIClasses
   interval:
     minutes: var:interval_time
 
 
Or what am I doing wrong?
 
KR Henk
1 REPLY 1

henk_stobbe
DynaMight Leader
DynaMight Leader

Yes you can: The example yaml,

 

vars:
  - id: interval
    displayName: Please enter interval example "1m"
    type: variabele
 
prometheus:
  - group: rmetrics
    interval: var:interval
    featureSet: global
 
Option menu:
henk_stobbe_0-1656959991315.png

 

henk_stobbe_1-1656961572299.png

 

Succes!

Featured Posts