-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I have 2 standard plugins running on the InfluxDB 3 processing engine: downsampler and threshold_deadman_checks. They are triggered every 5 min. They have some functions with same name, like parse_time_interval(). When executing, I get occasionally these errors in the logs:
On the downsampler plugin:
2025-08-26 14-35-00 [ERROR] parse_time_interval() takes 2 positional arguments but 4 were given
On the threshold_deadman_checks plugin:
2025-08-26 14-40-00 [ERROR] [7d0fe2cd-31c0-4f39-ad01-832e1e636b04] Error: parse_time_interval() missing 2 required positional arguments: 'key' and 'task_id'
And indeed, the functions have different signatures on each plugin:
downsampler: parse_time_interval(influxdb3_local, args, "interval", task_id)
threshold_deadman_checks: parse_time_interval(args: dict, task_id: str) -> tuple[int, str]:
So, one plugin is calling the other plugin's function. This issue was circumvented by renaming the functions in one of the plugins.