theotherp / nzbhydra2

Usenet meta search
Other
1.27k stars 76 forks source link

Allow reporting of any User Agent in indexer stats #298

Open Alives opened 5 years ago

Alives commented 5 years ago

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 commented 5 years ago

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

theotherp commented 5 years ago

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?

Alives commented 5 years ago

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

theotherp commented 5 years ago

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.