You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to specify that an input metric should only operate between certain hours or days or combination of the two (ie trading hours).
Current behavior:
Does not exist
Desired behavior:
some form of Cron type expression to define start time, end time, and perhaps interval if this is not consistent with existing formatting as an override behaviour ?
ie
cron = */15 07-19 * * * /path/script
Use case:
eg, collecting stats on metrics that have relevance during trading hours, but outside trading hours you don't want the processor load, or the probability that files could get locked by scripts and not be rotated.
The text was updated successfully, but these errors were encountered:
Best solution for this would be to schedule telegraf runs for these inputs by using cron: */15 07-19 * * * /bin/telegraf --once --config /etc/telegraf/trading_hours.conf
Something that might be relevant for this as well is #10545.
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
It would be nice to be able to specify that an input metric should only operate between certain hours or days or combination of the two (ie trading hours).
Current behavior:
Does not exist
Desired behavior:
some form of Cron type expression to define start time, end time, and perhaps interval if this is not consistent with existing formatting as an override behaviour ?
ie
cron = */15 07-19 * * * /path/script
Use case:
eg, collecting stats on metrics that have relevance during trading hours, but outside trading hours you don't want the processor load, or the probability that files could get locked by scripts and not be rotated.
The text was updated successfully, but these errors were encountered: