Add orleans healthchecks

This commit is contained in:
2025-10-03 12:46:44 +07:00
parent 44fd3c6919
commit b970090492
2 changed files with 440 additions and 1 deletions

View File

@@ -124,7 +124,8 @@ builder.Services.AddHealthChecks()
.AddUrlGroup(new Uri($"{influxUrl}/health"), name: "influxdb", tags: ["database"])
.AddCheck<Web3ProxyHealthCheck>("web3proxy", tags: ["api", "external"])
.AddCheck<CandleDataHealthCheck>("candle-data", tags: ["database", "candles"])
.AddCheck<GmxConnectivityHealthCheck>("gmx-connectivity", tags: ["api", "external"]);
.AddCheck<GmxConnectivityHealthCheck>("gmx-connectivity", tags: ["api", "external"])
.AddCheck<OrleansHealthCheck>("orleans-cluster", tags: ["orleans", "cluster"]);
builder.Host.UseSerilog((hostBuilder, loggerConfiguration) =>
{