Repository navigation
v1.0.0
Marks the first release.
Easywebstats is a lightweight concurrent stat-collecting gin gonic web service with a simple API. Stats are queried using REST and are exported as prometheus metrics.
Easywebstats is meant to be an easily deployable tool for quickly enhancing capabilities of your software or tooling, such as CI/CD pipelines. Deploy it as a standalone service, export the stats to prometheus and use it in grafana. You can also use it as part of an analytics platform, for example tracking page visits or query resolve times.
Read the README.md for docs
Changelog:
- Add API for setting, increasing and decreasing numeric stats.
- Add API for reading numeric stats.
- Add Swagger documentation.
- Add prometheus exports for numeric stats.
- Add standalone deployment path.
- Add docker container deployment path.
Available from docker hub
https://hub.docker.com/r/r59q/easywebstats
Note: Performance is important to the easywebstats application therefore stats are stored in-memory, rebooting the application will wipe all data. Do not use for crucial data. There are plans to periodically flush data to disk, but complete consistency will never be a top priority.
Recommendation
It is recommended you use the docker deployment flow see the deploying part of the readme.