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

Health functionality variables #389

Merged
merged 1 commit into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion setup/env-variables/backend-env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ _**Note**_**: Before release 5.1.2, all environment variables of time format sup
| `CHAIN_TYPE` | Specifies the model of data and enables fetchers specific to the chain. Available values are `ethereum`, `optimism`, `arbitrum`, `celo`, `polygon_zkevm`, `polygon_edge`, `rsk`, `shibarium`, `stability`, `suave`, `zetachain`, `filecoin`, `blackfort` added in [#10744](https://github.com/blockscout/blockscout/pull/10744), `zilliqa` added in [#10699](https://github.com/blockscout/blockscout/pull/10699),`default`. | <p>Needs Recompile: ☑️<br>Version: v5.3.0+<br>Default: <code>default</code><br>Applications: API, Indexer</p> |
| `CHAIN_ID` | Chain ID of the network. For instance, 100 in the case of xDai chain. | <p>Version: v3.7.0+<br>Default: (empty)<br>Applications: API, Indexer</p> |
| `JSON_RPC` | JSON RPC endpoint of the chain for the WalletConnect integration. Implemented in [#4931](https://github.com/blockscout/blockscout/pull/4931) | <p>Version: v4.1.0+<br>Default: (empty)<br>Applications: API, Indexer</p> |
| `HEALTHY_BLOCKS_PERIOD` | New blocks indexed max delay in /health API endpoint. [Time format](backend-env-variables.md#time-format). Implemented in [#2294](https://github.com/blockscout/blockscout/pull/2294/) | <p>Version: v2.0.2+<br>Default: <code>5m</code><br>Applications: API, Indexer</p> |
| `HEALTH_MONITOR_CHECK_INTERVAL` | Interval between health stats collection. [Time format](backend-env-variables.md#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | <p>Version: master<br>Default: <code>5m</code><br>Applications: API, Indexer</p> |
| `HEALTH_MONITOR_BLOCKS_PERIOD` | New blocks indexed max delay in /health API endpoint. [Time format](backend-env-variables.md#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | <p>Version: master<br>Default: <code>5m</code><br>Applications: API, Indexer</p> |
| `HEALTH_MONITOR_BATCHES_PERIOD` | New batches indexed max delay in /health API endpoint. [Time format](backend-env-variables.md#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | <p>Version: master<br>Default: <code>4h</code><br>Applications: API, Indexer</p> |
| `NEW_TAGS` | Add public tag labels. More info in [#6316](https://github.com/blockscout/blockscout/pull/6316) | <p>Version: v5.0.0+<br>Default: (empty)<br>Applications: API</p> |
| `CUSTOM_CONTRACT_ADDRESSES_${tag_name}` | Specify addresses for some label. More info in [#6316](https://github.com/blockscout/blockscout/pull/6316) | <p>Version: v5.0.0+<br>Default: (empty)<br>Applications: API</p> |
| `SESSION_COOKIE_DOMAIN` | Value of this env will be added to domain of session cookie. Implemented in [#6544](https://github.com/blockscout/blockscout/pull/6544) | <p>Needs Recompile: ☑️<br>Version: v5.0.0+<br>Default: (empty)<br>Applications: API</p> |
Expand Down
3 changes: 2 additions & 1 deletion setup/env-variables/deprecated-env-variables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,5 @@ This table is horizontally scrollable, version information is located in the las
| `FILECOIN_PENDING_ADDRESS_OPERATIONS_MIGRATION_CONCURRENCY` | | Specifies the number of concurrent processes used during the backfill of pending address fetch operations. Implemented in [#10468](https://github.com/blockscout/blockscout/pull/10468). | 1 | v6.9.0+ | | v7.0.0
| `ARBITRUM_DA_RECORDS_NORMALIZATION_MIGRATION_BATCH_SIZE` | | Specifies the number of address records processed per batch during normalization of batch-to-blob associations by moving them from arbitrum_da_multi_purpose to a dedicated arbitrum_batches_to_da_blobs table. Implemented in [#11798](https://github.com/blockscout/blockscout/pull/11798). | 500 | v6.10.1+ | | v7.0.0
| `ARBITRUM_DA_RECORDS_NORMALIZATION_MIGRATION_CONCURRENCY` | | Specifies the number of concurrent processes used during normalization of batch-to-blob associations by moving them from arbitrum_da_multi_purpose to a dedicated arbitrum_batches_to_da_blobs table. Implemented in [#11798](https://github.com/blockscout/blockscout/pull/11798). | 1 | v6.10.1+ | | v7.0.0
| `CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL` | | Interval to restart the task which calculates addresses with balances. | 30m | v4.1.3+ | | master
| `CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL` | | Interval to restart the task which calculates addresses with balances. | 30m | v4.1.3+ | | master
| `HEALTHY_BLOCKS_PERIOD` | | New blocks indexed max delay in /health API endpoint. [Time format](env-variables.md#time-format). Implemented in [#2294](https://github.com/blockscout/blockscout/pull/2294/) | 5m | v2.0.2+ | | master |