Budget VEMS.
Find a file
Gabriel Simmer 464dba46a8
All checks were successful
Build Docker Image / nix-flake-check (push) Successful in 1m57s
Build Docker Image / docker-build (push) Successful in 2m29s
Build Docker Image / arm-docker-build (push) Successful in 6m14s
Formatting
2023-11-17 21:40:20 +00:00
.forgejo/workflows Fix linting, build-test-publish workflow, Docker image 2023-11-10 12:21:06 +00:00
grafana Add additional metrics to example dashboard 2023-10-24 13:39:50 +01:00
src Formatting 2023-11-17 21:40:20 +00:00
.envrc Initial commit of proof of concept. 2023-10-20 22:16:33 +01:00
.gitignore Initial commit of proof of concept. 2023-10-20 22:16:33 +01:00
Cargo.lock Clean up flake.nix, add logging crates 2023-11-17 11:29:03 +00:00
Cargo.toml Clean up flake.nix, add logging crates 2023-11-17 11:29:03 +00:00
flake.lock Clean up flake.nix, add logging crates 2023-11-17 11:29:03 +00:00
flake.nix Rename binary in Docker 2023-11-17 11:30:03 +00:00
LICENSE Initial commit of proof of concept. 2023-10-20 22:16:33 +01:00
README.md Switch to fetching instances from group 2023-10-21 19:25:06 +01:00

VR Event Tracker

Adapter for VRChat API instance data and VRCDN API to Prometheus metrics.

Very budget version of VEMS, 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:

group = "group_7f23c663-e3c5-408f-bfb3-02b164f9e921"
vrcdn = "vrcdn_stream_name"

Instances will be retrieved from the group.

Runs on port 6534, on all interfaces. May be configurable in the future.

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).