Skip to content

feat(examples): add ASP.NET health checks example#156

Merged
alex-clickhouse merged 1 commit intomainfrom
healthcheck
Jan 4, 2026
Merged

feat(examples): add ASP.NET health checks example#156
alex-clickhouse merged 1 commit intomainfrom
healthcheck

Conversation

@alex-clickhouse
Copy link
Copy Markdown
Collaborator

@alex-clickhouse alex-clickhouse commented Jan 4, 2026

Note

Adds an ASP.NET health checks example and wires it into the examples app.

  • New AspNet_001_HealthChecks.cs: implements ClickHouseHealthCheck (runs SELECT 1), DI-based registration, and AddClickHouse IHealthChecksBuilder extension; demo Run() uses AddClickHouseDataSource and HealthCheckService
  • Program.cs: invokes AspNetHealthChecks.Run() under NET7_0_OR_GREATER
  • ClickHouse.Driver.Examples.csproj: adds Microsoft.Extensions.Diagnostics.HealthChecks package
  • README.md: new "ASP.NET Integration" section linking the health checks example

Written by Cursor Bugbot for commit 1cd7695. This will update automatically on new commits. Configure here.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread examples/AspNet_001_HealthChecks.cs
@alex-clickhouse alex-clickhouse merged commit 82d7fa6 into main Jan 4, 2026
17 checks passed
@alex-clickhouse alex-clickhouse deleted the healthcheck branch January 5, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant