Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
lok52 committed Nov 8, 2024
1 parent 581f870 commit 6466d04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
19 changes: 2 additions & 17 deletions multichain-aggregator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,14 @@ just run

## Envs

Service-specific environment variables. Common environment variables are listed [here](../docs/common-envs.md).

[anchor]: <> (anchors.envs.start)

| Variable | Req&#x200B;uir&#x200B;ed | Description | Default value |
| -------------------------------------------------- | ------------------------ | ---------------------------------- | -------------- |
| `MULTICHAIN_AGGREGATOR__DATABASE__CONNECT__URL` | true | Postgres connect URL to service DB | |
| `MULTICHAIN_AGGREGATOR__DATABASE__CREATE_DATABASE` | | Create database if doesn't exist | `false` |
| `MULTICHAIN_AGGREGATOR__DATABASE__RUN_MIGRATIONS` | | Run database migrations | `false` |
| `MULTICHAIN_AGGREGATOR__METRICS__ADDR` | | Metrics listen address | `0.0.0.0:6060` |
| `MULTICHAIN_AGGREGATOR__METRICS__ENABLED` | | Enable metrics endpoint | `false` |
| `MULTICHAIN_AGGREGATOR__METRICS__ROUTE` | | Metrics route | `/metrics` |
| `MULTICHAIN_AGGREGATOR__TRACING__ENABLED` | | Enable tracing | `true` |
| `MULTICHAIN_AGGREGATOR__TRACING__FORMAT` | | Tracing format: `default`/`json` | `default` |

[anchor]: <> (anchors.envs.end)

## Troubleshooting

1. Invalid tonic version

```
`Router` and `Router` have similar names, but are actually distinct types
```

To fix this error you need to change tonic version of `tonic` in `blockscout-service-launcer` to `0.8`

For now you can only change in `Cargo.lock`
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ fn main() {
PrefixFilter::blacklist(&[
"MULTICHAIN_AGGREGATOR__SERVER",
"MULTICHAIN_AGGREGATOR__JAEGER",
"MULTICHAIN_AGGREGATOR__METRICS",
"MULTICHAIN_AGGREGATOR__TRACING",
]),
None,
);
Expand Down

0 comments on commit 6466d04

Please sign in to comment.