Skip to content

Release: develop -> main#35

Merged
TaprootFreak merged 1 commit into
mainfrom
develop
May 12, 2026
Merged

Release: develop -> main#35
TaprootFreak merged 1 commit into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* Route GeckoTerminal calls through optional base-URL

Mirrors the COINGECKO_BASE_URL plumbing already in place: the
GeckoTerminal upstream URL becomes a config-driven base path rather than
a hardcoded api.geckoterminal.com literal. Defaults to the public host so
existing deployments without the env var keep working; setting
GECKOTERMINAL_BASE_URL points the service at the in-cluster pricing-proxy
on https://github.com/DFXswiss/pricing-proxy, which adds a 60 s shared
cache, request coalescing and validation on top of the shared free-tier
30 req/min IP quota.

With three monitoring stacks on the same host (d-EURO, jdt, jdm) all
hitting GT directly, the shared anonymous IP quota burns out under load
and restart-bursts. Behind the proxy, the three streams collapse to one
upstream call per 60 s.

Non-breaking: the literal default keeps every existing deployment on the
direct path until its compose adds GECKOTERMINAL_BASE_URL.

* Make GECKOTERMINAL_BASE_URL required

Hard-fail at construction when GECKOTERMINAL_BASE_URL is unset, mirroring
the existing COINGECKO_BASE_URL check in the same constructor. The
previous `?? 'https://api.geckoterminal.com'` default silently fell back
to the public host — the exact pattern the CoinGecko refactor was meant
to remove for that route. Treating both upstreams the same way removes
a class of silent anonymous fallbacks that surface later as sporadic
429s once the shared host quota is exhausted.

`.env.example` upgraded from optional comment to required entry, again
matching the COINGECKO_BASE_URL phrasing.
@TaprootFreak TaprootFreak merged commit eda9ccd into main May 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant