Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : Execute dashboard query as part of health check #5676

Merged
merged 18 commits into from
Oct 16, 2024
Merged

Conversation

k-anshul
Copy link
Member

@k-anshul k-anshul self-assigned this Sep 12, 2024
proto/rill/runtime/v1/api.proto Outdated Show resolved Hide resolved
runtime/drivers/catalog.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
admin/worker/deployments_health_check.go Outdated Show resolved Hide resolved
proto/rill/runtime/v1/api.proto Outdated Show resolved Hide resolved
runtime/drivers/catalog.go Outdated Show resolved Hide resolved
runtime/drivers/catalog.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/health.go Show resolved Hide resolved
runtime/health.go Outdated Show resolved Hide resolved
runtime/resolvers/metricsview_time_range.go Outdated Show resolved Hide resolved
runtime/resolvers/metricsview_time_range.go Outdated Show resolved Hide resolved
k-anshul and others added 4 commits October 15, 2024 11:38
CREATE TABLE IF NOT EXISTS instance_health (
instance_id TEXT PRIMARY KEY,
health BLOB NOT NULL,
created_on TIMESTAMP NOT NULL,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be named updated_on? Since it changes when the health is updated. (It probably doesn't make sense to have a separate created_on field as it would just be roughly the same as that of the instance in the instances table.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Forgot to update the db column names here. Thanks.

@k-anshul k-anshul merged commit 6929ad1 into main Oct 16, 2024
10 checks passed
@k-anshul k-anshul deleted the dashboard_queries branch October 16, 2024 11:09
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.

2 participants