nzbhydra2 icon indicating copy to clipboard operation
nzbhydra2 copied to clipboard

Allow reporting of any User Agent in indexer stats

Open Alives opened this issue 6 years ago • 4 comments

Only a set list of User Agents are collected. I'd like to see any that successfully auth with a valid API Key instead of stuffing them under Other.

Alives avatar Feb 01 '19 22:02 Alives

Ah, I just found this in the config and yaml... Maybe add an option to start tracking any new useragent with > $x hits?

Alives avatar Feb 01 '19 23:02 Alives

The user agent is already stored as "Other" in the database if it can't be mapped to a certain list. What user agents are you missing?

theotherp avatar Feb 02 '19 05:02 theotherp

But if I add the custom ones to the yaml, I'll see them in stats, or will they still show up as Other?

Alives avatar Feb 02 '19 05:02 Alives

If you add them from now on they will be mapped and added as such to the database. But unknown ones are added as "Other" to the database. Therefore it's not possible to show those that have more than x hits specifically.

It's been a while that I implemented this but IIRC the user agents differed so wildly that it was impossible to automatically group them.

theotherp avatar Feb 02 '19 05:02 theotherp