Prometheus(OpenMetrics) exporter for Google Pollen API.
At first, Set up API and create API Key.
Check your target coordinates(lat/long) in google maps.
The simplest way to use it is with Docker.
docker run -p 8000:8000 \
-e GOOGLE_API_KEY="yourapikeyhere" \
-e COORDINATES="35.685385800250806, 139.75336965608045" \
-e LANGUAGE_CODE="ja" \
legnoh/google-pollen-exporter
Alternatively, it can be started from the source.
# clone
git clone https://github.com/legnoh/google-pollen-exporter.git && cd google-pollen-exporter
uv sync
# prepare .env file for your apps
cat << EOS > .env
GOOGLE_API_KEY="yourapikeyhere"
COORDINATES="35.685385800250806, 139.75336965608045"
LANGUAGE_CODE="ja"
EOS
# run exporter
uv run main.py
please check metrics.yml or example
Content type
Image
Digest
sha256:956a31a15…
Size
99.7 MB
Last updated
11 days ago
docker pull legnoh/google-pollen-exporter