grahamgilbert
05/01/2024, 7:59 PMFG
05/01/2024, 8:05 PMgrahamgilbert
05/01/2024, 8:17 PMFG
05/01/2024, 8:26 PMJohn Speno
05/01/2024, 9:18 PMload
decorators just not send the expected decorated results. Never did get to the bottom of it, and it only happened to a very small number of nodes. I was still curious how the interval
worked for decorators but never got to the bottom of it. Seemed like I'd need to read the source since the docs weren't clear. This is the entire section:
The interval type uses a map of interval 'periods' as keys, and the set of decorator queries for each value. Each of these intervals MUST be minute-intervals. Anything not divisible by 60 will generate a warning, and will not run.
John Speno
05/02/2024, 3:00 PM"interval": {
"3600": [
"SELECT total_seconds AS uptime FROM uptime;"
]
}
The name implies that the results of these decorator queries are run every hour (3600 seconds), and I assume whatever value they return will be used to decorate all other results similar to the load
variety which just runs once.John Speno
05/02/2024, 3:01 PM