Skip to content

Add Health Check Endpoint#101

Merged
Yash Shrivastava (alephys26) merged 19 commits into
mainfrom
alephys26/add-health-endpoint
Jun 15, 2026
Merged

Add Health Check Endpoint#101
Yash Shrivastava (alephys26) merged 19 commits into
mainfrom
alephys26/add-health-endpoint

Conversation

@alephys26

@alephys26 Yash Shrivastava (alephys26) commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Background

We did not have health checks for the clusters in Heimdall. Introducing health check endpoints for greater observability. The health checks are set on clusters (with opt-in) and run only if there is at least a single command that uses the cluster.

Changes

  • Cluster Health Check System

    • Introduced a configurable, concurrent health check system with new API endpoints for checking cluster health, and updated the main Heimdall struct and router to support it. [1] [2] [3]
    • Added cluster-level opt-in for health checks and global timeout configuration in local.yaml. [1] [2]
  • Plugin Health Check Implementations

    • Implemented lightweight HealthCheck methods in ClickHouse, DynamoDB, ECS Fargate, Glue, Ping, Postgres, Shell, and Snowflake plugins for backend connectivity probing. [1] [2] [3] [4] [5] [6] [7] [8]
  • Documentation and Configuration

    • Updated README.md to document cluster health checks, endpoints, configuration, and plugin support. [1] [2] [3]
    • Added new plugins to the supported plugins table (sparkeks, postgres).
  • Dependency Updates

    • Upgraded AWS SDK and related dependencies in go.mod for compatibility with health check implementations. [1] [2]

Tests

Tested with go test files. All unit tests passed.
Also tested locally with docker compose.

Copilot AI review requested due to automatic review settings April 6, 2026 13:10
@wiz-55ccc8b716

wiz-55ccc8b716 Bot commented Apr 6, 2026

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 4 Medium 1 Low
Software Management Finding Software Management Findings -
Total 4 Medium 1 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

This comment was marked as outdated.

@alephys26 Yash Shrivastava (alephys26) changed the title Add Command Health Check Endpoints Add Health Check Endpoint Apr 28, 2026
Comment thread internal/pkg/object/command/dynamo/dynamo.go
Comment thread internal/pkg/object/command/spark/spark.go
Comment thread internal/pkg/object/command/sparkeks/sparkeks.go Outdated
Comment thread internal/pkg/object/command/trino/trino.go
Comment thread internal/pkg/object/command/snowflake/snowflake.go
Comment thread internal/pkg/object/command/sparkeks/sparkeks.go
@alephys26 Yash Shrivastava (alephys26) merged commit 416f638 into main Jun 15, 2026
7 checks passed
@alephys26 Yash Shrivastava (alephys26) deleted the alephys26/add-health-endpoint branch June 15, 2026 09:52
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.

3 participants