Skip to content

Prometheus(OpenMetrics) exporter for Oura Ring

License

Notifications You must be signed in to change notification settings

legnoh/oura-exporter

Repository files navigation

oura-exporter

Badge publish

Prometheus(OpenMetrics) exporter for Oura Ring.

Usage

Registration

At first, create Oura Personal Access Tokens(PATs) for yours.

And check your local TZ identifier.

Start(Docker)

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

Start(source)

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

Metrics

please check metrics.yml or example

Disclaim

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

About

Prometheus(OpenMetrics) exporter for Oura Ring

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •