srcds_exporter icon indicating copy to clipboard operation
srcds_exporter copied to clipboard

Polling stats on map change

Open SteveBox0 opened this issue 2 years ago • 6 comments

The srcds exporter seems to be polling stats sometimes on map change this causes really high server MS, etc to be reported. Ideally it should hold off for a couple of seconds and poll for new stats.

E.g. Useful for setting up alerts for high sv ms, etc.

SteveBox0 avatar Aug 30 '22 05:08 SteveBox0

hey, yeah I noticed it aswell and need to work a bit on it, though I don't have much free time right now but I'll def have to push a fix for it! I agree it can cause issues when having alerts :)

Unyxos avatar Sep 03 '22 22:09 Unyxos

Hey, just coming back to this, didn't have time before.

I checked a bit and it seems neither the stats or status commands are actually giving infos about a possible map change. It could be possible to "enforce" using previous metrics, but that's also something that shouldn't be done in theory after thinking a bit more about it, I'll explore some different solutions

Unyxos avatar Sep 30 '22 20:09 Unyxos

Either look at game time or see if the map count increased from last poll.

SteveBox0 avatar Oct 02 '22 16:10 SteveBox0

@Unyxos Any luck on looking into this issue further? Thanks.

SteveBox0 avatar Dec 07 '22 06:12 SteveBox0

hey @SteveBox0 I just reopened the project this weekend for an event, I'll get back to this specific issue soon to verify a thing or two!

Unyxos avatar Dec 07 '22 21:12 Unyxos

@Unyxos Let me know if you need any help testing it out.

SteveBox0 avatar Dec 16 '22 15:12 SteveBox0