On Mon, Oct 26, 2015 at 7:42 AM, Sébastien Bourdeauducq <s...@m-labs.hk> wrote: > On 10/26/2015 09:30 AM, Sébastien Bourdeauducq wrote: >> On 10/26/2015 02:27 AM, Joe Britton wrote: >>> > Indeed, I could temporarily add a new entries to >>> > influxdb_patterns.pyon. Presently, this requires stopping and >>> > restarting artiq_influxdb which is problematic if a single influxdb is >>> > used by multiple experiments. >> No, you can use artiq_rpctool (port 3248) to add and remove patterns >> dynamically. > > Speaking of: > > Having an interface similar to the device database, where you edit the > file manually and trigger a rescan, might be better than those RPCs to > add and remove patterns. > > Since we don't really need PYON here, the file format could be replaced > with a simple "one pattern per line" scheme. Modifying the file in a > text editor provides a better user experience than typing commands to > add/remove entries. However, it becomes more difficult to add/remove > entries programatically - which the current interface makes very easy. > > Thoughts?
Yes. I vaguely remember commenting on this some time in the past but I can't fined it right now. Dropping the filter modification API is fine IMHO. And a list of exclude/include (+-) glob or regex patterns (like e.g. gitignores) is good. It seems like there are a few "configuration-like snippets" piling up in an artiq installation, like this filtering list. Can we somehow unify/merge them? -- Robert Jordens. _______________________________________________ ARTIQ mailing list https://ssl.serverraum.org/lists/listinfo/artiq