srcds_exporter
srcds_exporter copied to clipboard
Polling stats on map change
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.
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 :)
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
Either look at game time or see if the map count increased from last poll.
@Unyxos Any luck on looking into this issue further? Thanks.
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 Let me know if you need any help testing it out.