Is there anyway to specify an interval in seconds using the system.tag.queryTagHistory function? The documentation only has options for hours and minutes: https://docs.inductiveautomation.com/display/DOC79/system.tag.queryTagHistory
Now that I think about it I guess I could use system.date.secondsBetween and then divide by the desired seconds and then set the row count instead of the interval. Would still be nice to have seconds as an interval option.
There’s an internal ticket (at fairly low priority) to bring this feature to parity - so at some point in the future this should be added.
For now, as you came up with, defining a fixed return size is the best solution.