mirror of
https://github.com/Sithranduil/srcds_exporter.git
synced 2025-07-23 08:28:00 +02:00
update readme
This commit is contained in:
19
README.md
19
README.md
@@ -1,15 +1,8 @@
|
|||||||
# SRCDS Prometheus exporter
|
# SRCDS Prometheus exporter
|
||||||
|
|
||||||
Works (or should work) with the following servers :
|
Works (or should work) with the following servers :
|
||||||
|
* CSGO
|
||||||
* Working :
|
* CSS
|
||||||
* CSGO
|
|
||||||
* CSS
|
|
||||||
* GMod
|
|
||||||
* Not working (I'm planning on adding them in the near future) :
|
|
||||||
* L4D2
|
|
||||||
* TF2
|
|
||||||
* HL2DM
|
|
||||||
|
|
||||||
## How to install
|
## 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`
|
`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
|
## Configure Prometheus
|
||||||
|
|
||||||
Add the following configuration to Prometheus static configuration :
|
Add the following configuration to Prometheus static configuration :
|
||||||
@@ -84,7 +82,6 @@ Values for `game` field :
|
|||||||
| Game | Value |
|
| Game | Value |
|
||||||
|:----------:|:-------------:|
|
|:----------:|:-------------:|
|
||||||
| CS:GO | csgo |
|
| CS:GO | csgo |
|
||||||
| Garry's Mod | gmod |
|
|
||||||
| Counter Strike Source | cstrike |
|
| Counter Strike Source | cstrike |
|
||||||
|
|
||||||
## How to access
|
## 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!
|
Is there a Grafana dashboard available ? Of course!
|
||||||
|
|
||||||
**CSGO/CSS** : https://grafana.com/grafana/dashboards/13312
|
**CSGO/CSS** : https://grafana.com/grafana/dashboards/13312
|
||||||
|
|
||||||
**GMod** : Coming
|
|
||||||
|
Reference in New Issue
Block a user