vrchat-prometheus-adapter/README.md

26 lines
940 B
Markdown
Raw Normal View History

2023-10-20 22:08:51 +01:00
VR Event Tracker
===
Adapter for VRChat API instance data and VRCDN API to Prometheus metrics.
Very budget version of [VEMS](https://github.com/kakious/vems-monitor), which can be viewed as a more
complete solution. This is mostly for fun and learning. A dashboard is provided in `grafana/dashboard.json`.
Not a lot of metrics are collected at the moment. Just the ones I care about.
## Configuration
Configuration is done with a `config.toml` file with the following format:
```toml
group = "group_7f23c663-e3c5-408f-bfb3-02b164f9e921"
2023-10-20 22:08:51 +01:00
vrcdn = "vrcdn_stream_name"
```
Instances will be retrieved from the group.
2023-10-20 22:08:51 +01:00
Runs on port `6534`, on all interfaces. May be configurable in the future.
2023-10-20 22:19:53 +01:00
You will need to set the `VRCHAT_AUTH_TOKEN` environment variable to authenticate with VRChat's API. This isn't technically
recommended and a more robust authentication system (see: _correct_) should be considered for serious use (see: VEMS).