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: alert template message pt4 #338

Merged
merged 11 commits into from
Mar 11, 2024
Merged

Conversation

wrn14897
Copy link
Contributor

@wrn14897 wrn14897 commented Mar 8, 2024

Introduce conditional alert routing helper #is_match

Copy link

changeset-bot bot commented Mar 8, 2024

🦋 Changeset detected

Latest commit: fbbbaa5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/api Patch
@hyperdx/app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

packages/api/src/clickhouse/index.ts Outdated Show resolved Hide resolved
count(*) as data,
toUnixTimestamp(toStartOfInterval(timestamp, INTERVAL ?)) as ts_bucket
count(*) AS data,
any(_string_attributes) AS attributes,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we might also need to extract the default properties like service, level, etc. that are in columns as attributes as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah we should. I can add those in the next PR

MikeShi42
MikeShi42 previously approved these changes Mar 8, 2024
@kodiakhq kodiakhq bot merged commit b454003 into main Mar 11, 2024
4 checks passed
@kodiakhq kodiakhq bot deleted the warren/alert-template-message-pt4 branch March 11, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants