update readme

This commit is contained in:
2020-11-25 21:54:32 +01:00
parent 36a2e1e071
commit 872f1f950d

View File

@@ -1,15 +1,8 @@
# SRCDS Prometheus exporter
Works (or should work) with the following servers :
* Working :
* CSGO
* CSS
* GMod
* Not working (I'm planning on adding them in the near future) :
* L4D2
* TF2
* HL2DM
* CSGO
* CSS
## How to install
@@ -25,6 +18,11 @@ You need to have NodeJS installed if you want to run the sources, NVM (Node Vers
`docker run -d -p <external port>:9591 --name srcds_exporter sithranduil/srcds_exporter:latest`
## Configure srcds_exporter
You need to create your own configuration to allow the exporter to request gametracker, then mount it into the docker container.
You can find example file here : https://github.com/Sithranduil/srcds_exporter/blob/master/config.js
## Configure Prometheus
Add the following configuration to Prometheus static configuration :
@@ -84,7 +82,6 @@ Values for `game` field :
| Game | Value |
|:----------:|:-------------:|
| CS:GO | csgo |
| Garry's Mod | gmod |
| Counter Strike Source | cstrike |
## How to access
@@ -98,5 +95,3 @@ If you want to see what the exporter returns, you can access :
Is there a Grafana dashboard available ? Of course!
**CSGO/CSS** : https://grafana.com/grafana/dashboards/13312
**GMod** : Coming