Prometheus(OpenMetrics) exporter for Oura Ring.
At first, create Oura Personal Access Tokens(PATs) for yours.
And check your local TZ identifier.
The simplest way to use it is with Docker.
docker run -p 8000:8000 \
-e OURA_ACCESS_TOKEN="youraccesstokenhere" \
-e TZ="Asia/Tokyo" \
legnoh/oura-exporter
Alternatively, it can be started from the source.
# clone
git clone https://github.com/legnoh/oura-exporter.git && cd oura-exporter
pipenv install
# prepare .env file for your apps
cat << EOS > .env
OURA_ACCESS_TOKEN="youraccesstokenhere"
TZ="Asia/Tokyo"
EOS
# run exporter
pipenv run main
please check metrics.yml or example
- This script is NOT authorized by Oura.
- We are not responsible for any damages caused by using this script.
- This script is not intended to overload these sites or services.
- When using this script, please keep your request frequency within a sensible range.