Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stats: Allow fetching stats from custom schema of Blockscout DB #1110

Open
vbaranov opened this issue Nov 5, 2024 · 0 comments
Open

stats: Allow fetching stats from custom schema of Blockscout DB #1110

vbaranov opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@vbaranov
Copy link
Member

vbaranov commented Nov 5, 2024

If Blockscout DB is settled to custom schema (other than public):

STATS__BLOCKSCOUT_DB_URL=postgresql://user:password@localhost:5432/blockscout?search_path=custom_schema

Stats microservice should be able to read from there.

Blockscout DB is able to work with custom schema from release 6.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants