Replies: 3 comments 19 replies
-
Have you read through https://docs.blockscout.com/for-developers/configuration-options/charts-and-stats, |
Beta Was this translation helpful? Give feedback.
-
also stats logs 2024-01-30T07:00:00.045376Z INFO stats::charts::updater: running full update due to lack of history data min_blockscout_block=0 chart="newVerifiedContracts" |
Beta Was this translation helpful? Give feedback.
-
NEXT_PUBLIC_STATS_API_HOST: http://localhost:8080 When I try localhost:8080, I do not receive any response from the browser. However, when I type localhost:8080/api/v1/counters, I can access some data. Despite there being no errors in the services and logs, the charts and stats data are not coming through. I couldn't succeed. Could you please help me? |
Beta Was this translation helpful? Give feedback.
-
Hello, I am attempting a trial with Blockscout, but no matter what I do, I can't get the stats service to run. Other transactions are coming through, and blocks are being received, but when I click on the stats and chart menu, no data comes through. I used your example Docker Compose file and entered the details of my EVM server. I can't understand what I need to do for the stats section. I would appreciate your assistance with this.
version: '3.9'
services:
redis_db:
extends:
file: ./services/redis.yml
service: redis_db
db-init:
extends:
file: ./services/db.yml
service: db-init
db:
extends:
file: ./services/db.yml
service: db
backend:
depends_on:
- db
- redis_db
extends:
file: ./services/backend.yml
service: backend
build:
context: ..
dockerfile: ./docker/Dockerfile
args:
CACHE_EXCHANGE_RATES_PERIOD: "false"
API_V1_READ_METHODS_DISABLED: "false"
DISABLE_WEBAPP: "false"
API_V1_WRITE_METHODS_DISABLED: "false"
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED: ""
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: ""
ADMIN_PANEL_ENABLED: "false"
RELEASE_VERSION: 6.0.0
links:
- db:database
environment:
ETHEREUM_JSONRPC_HTTP_URL: http://192.168.0.124:8545/
ETHEREUM_JSONRPC_TRACE_URL: http://192.168.0.124:8545/
ETHEREUM_JSONRPC_WS_URL: ws://192.168.0.124:8546/
CHAIN_ID: '500'
visualizer:
extends:
file: ./services/visualizer.yml
service: visualizer
sig-provider:
extends:
file: ./services/sig-provider.yml
service: sig-provider
frontend:
depends_on:
- backend
extends:
file: ./services/frontend.yml
service: frontend
environment:
# NEXT_PUBLIC_OTHER_LINKS: ""
NEXT_PUBLIC_FOOTER_LINKS: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/footer-links/base-goerli.json"
# NEXT_PUBLIC_NAVIGATION_HIDDEN_LINKS: ""
# NEXT_PUBLIC_FEATURED_NETWORKS: ""
NEXT_PUBLIC_OG_DESCRIPTION: "xxxx
NEXT_PUBLIC_OG_IMAGE_URL: "
NEXT_PUBLIC_APP_PROTOCOL: "https"
NEXT_PUBLIC_APP_HOST: "explorertest.test.com"
NEXT_PUBLIC_API_PROTOCOL: "https"
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: "wss"
NEXT_PUBLIC_API_HOST: "explorertest.test.com"
NEXT_PUBLIC_NETWORK_NAME: "test"
NEXT_PUBLIC_NETWORK_SHORT_NAME: "test"
NEXT_PUBLIC_NETWORK_ID: 571
NEXT_PUBLIC_NETWORK_RPC_URL: https://rpc.xxxx.com/
NEXT_PUBLIC_NETWORK_CURRENCY_NAME: "test"
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL: "test"
NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE: "validation"
NEXT_PUBLIC_IS_TESTNET: "false"
NEXT_PUBLIC_HOMEPAGE_CHARTS: "['daily_txs']"
NEXT_PUBLIC_NETWORK_LOGO:
NEXT_PUBLIC_NETWORK_LOGO_DARK:
NEXT_PUBLIC_NETWORK_ICON:
NEXT_PUBLIC_NETWORK_ICON_DARK:
NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE: "blockie"
# NEXT_PUBLIC_VIEWS_NFT_MARKETPLACES: ""
# NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "true"
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID:
NEXT_PUBLIC_AD_BANNER_PROVIDER: "none"
NEXT_PUBLIC_AD_TEXT_PROVIDER: "none"
stats-db-init:
extends:
file: ./services/stats.yml
service: stats-db-init
stats-db:
depends_on:
- backend
extends:
file: ./services/stats.yml
service: stats-db
stats:
depends_on:
- stats-db
extends:
file: ./services/stats.yml
service: stats
proxy:
depends_on:
- backend
- frontend
- stats
extends:
file: ./services/nginx.yml
service: proxy
Beta Was this translation helpful? Give feedback.
All reactions