hawkular / hawkular-openshift-agent

A Hawkular feed that collects metrics from Prometheus and/or Jolokia endpoints deployed in one or more pods within an OpenShift node.
16 stars 21 forks source link

Configure the intervals using Go lang duration values rather than seconds. #93

Closed mwringe closed 7 years ago

mwringe commented 7 years ago

Instead of using a parameter named collection_interval_secs we should just have a parameter called collection_interval which takes a string representation of a Go time value.

eg: collection_interval: 10s collection_interval: 1m collection_interval: 5m

jmazzitelli commented 7 years ago

see PR #95 - seems to work nicely.