Skip to content

Commit

Permalink
Merge pull request #17 from Unyxos/update-readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Unyxos authored Apr 10, 2023
2 parents 16c055b + 1a675bc commit f5862a7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# CS2 Support
**I can't tell if CS2 will be supported directly through the csgo config or if a new one will be needed, I'll need to have access to it and for Valve to release CS2 dedicated servers for everybody**

# SRCDS Prometheus exporter
### The goal of this project is to provide a simple way to get metrics from various Source dedicated servers and expose them in Grafana.
<p align="center">
Expand All @@ -10,7 +13,7 @@
</p>
<p align="center">
<img src="https://img.shields.io/github/stars/unyxos/srcds_exporter?style=social">
<a href="https://hub.docker.com/repository/docker/corentincl/srcds_exporter" alt="Activity">
<a href="https://hub.docker.com/r/corentincl/srcds_exporter" alt="Activity">
<img src="https://img.shields.io/docker/pulls/corentincl/srcds_exporter?logo=docker"/>
</a>
<img src="https://img.shields.io/docker/v/corentincl/srcds_exporter?logo=docker&sort=semver">
Expand All @@ -33,6 +36,12 @@ You need to have NodeJS installed if you want to run the sources, NVM (Node Vers

By default, the exporter runs on port 9591, it's possible to customize this by setting the HTTP_PORT variable to the desired port.

## Configure the game's server

1. Make sure to configure a rcon password

2. Add `-usercon` to your srcds start parameters, otherwise rcon connection cannot be done from "outside" of the game/server's console, resulting in the exporter showing 0 for all metrics

## Configure Prometheus

Add the following configuration to Prometheus static configuration :
Expand Down

0 comments on commit f5862a7

Please sign in to comment.