Config(
app: AppConfig(
name: "my-indexer",
),
db: DbConfig(
db_url: "postgres://myuser:mypassword@localhost:5432/indexer",
max_conn: 10,
),
indexer: IndexerConfig (
tm_ws_url: "ws://localhost:26657/websocket",
batch: 1000,
workers: 100,
),
querier: QuerierConfig (
listen: "localhost:18181",
),
telemetry: TelemetryConfig(
trace_exporter: "http://localhost:4317",
timeout_millis: 5000,
),
)