2021-03-05 00:28:05 +08:00
|
|
|
# Counter-Strike: Global Offensive (CSGO) Input Plugin
|
2021-03-04 03:05:14 +08:00
|
|
|
|
2021-03-05 00:28:05 +08:00
|
|
|
The `csgo` plugin gather metrics from Counter-Strike: Global Offensive servers.
|
2021-03-04 03:05:14 +08:00
|
|
|
|
2021-11-25 02:55:55 +08:00
|
|
|
## Configuration
|
|
|
|
|
|
2022-05-24 21:49:47 +08:00
|
|
|
```toml @sample.conf
|
2021-04-28 09:41:52 +08:00
|
|
|
# Fetch metrics from a CSGO SRCDS
|
2021-03-04 03:05:14 +08:00
|
|
|
[[inputs.csgo]]
|
|
|
|
|
## Specify servers using the following format:
|
|
|
|
|
## servers = [
|
|
|
|
|
## ["ip1:port1", "rcon_password1"],
|
|
|
|
|
## ["ip2:port2", "rcon_password2"],
|
|
|
|
|
## ]
|
|
|
|
|
#
|
|
|
|
|
## If no servers are specified, no data will be collected
|
|
|
|
|
servers = []
|
|
|
|
|
```
|
|
|
|
|
|
2021-11-25 02:55:55 +08:00
|
|
|
## Metrics
|
2021-03-04 03:05:14 +08:00
|
|
|
|
2022-06-08 05:10:18 +08:00
|
|
|
The plugin retrieves the output of the `stats` command that is executed via
|
|
|
|
|
rcon.
|
2021-03-04 03:05:14 +08:00
|
|
|
|
|
|
|
|
If no servers are specified, no data will be collected
|
|
|
|
|
|
|
|
|
|
- csgo
|
|
|
|
|
- tags:
|
|
|
|
|
- host
|
|
|
|
|
- fields:
|
|
|
|
|
- cpu (float)
|
|
|
|
|
- net_in (float)
|
|
|
|
|
- net_out (float)
|
|
|
|
|
- uptime_minutes (float)
|
|
|
|
|
- maps (float)
|
|
|
|
|
- fps (float)
|
|
|
|
|
- players (float)
|
|
|
|
|
- sv_ms (float)
|
|
|
|
|
- variance_ms (float)
|
|
|
|
|
- tick_ms (float)
|