nftables read counters as non-root user
If you want a more limited config. Maybe use sudo. You can set a rule that only permits a single command.
craig_mcqueen ALL = NOPASSWD: /usr/sbin/nft list counter my_table my_counter
If you want a more limited config. Maybe use sudo. You can set a rule that only permits a single command.
craig_mcqueen ALL = NOPASSWD: /usr/sbin/nft list counter my_table my_counter