ts3exporter icon indicating copy to clipboard operation
ts3exporter copied to clipboard

Default channel client counter seems to include query connections

Open MexHigh opened this issue 1 year ago • 2 comments

My default channel (the one you join automatically upon connection) always has a client count of 1 if no client is on the Teamspeak server. If i connect to the server query manually, the count increases to two.

Is there a way to substract those connections again to have a correct client number metric for the default channel?

MexHigh avatar Apr 04 '25 19:04 MexHigh

Just as context: That number is technically correct, the connected user is the serverquery user used by this tool. The TS client does not show serverquery users, thats why it appears empty.

poettig avatar Apr 04 '25 20:04 poettig

It seems like the clientlist command shows a client_type field per user. client_type=1 seems to be server query users, while client_type=0 are "normal" users.

Maybe adding a metric ts3_clientlist_count{type="normal"} would be fitting. Maybe I'll find some time adding it myself.

MexHigh avatar Apr 04 '25 20:04 MexHigh