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

Implement alerting using webhook #12

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

pondzix
Copy link
Contributor

@pondzix pondzix commented Dec 13, 2023

3 kinds of alerts are sent using configured webhook:

  • failed events table creation
  • failure of adding columns for schema evolution
  • failure of opening Snowflake channel

New config looks like:

"monitoring": {
     ....
    "webhook": {
      "endpoint": "https://webhook.acme.com",
      "tags": {
        "pipeline": "production"
      }
}

New iglu schema for alert - snowplow/iglu-central#1363

@pondzix pondzix force-pushed the feature/add_monitoring branch 4 times, most recently from ca18529 to 2995f70 Compare December 19, 2023 09:09
@pondzix pondzix changed the title Draft Monitoring trait Implement alerting using webhook Dec 19, 2023
import com.snowplowanalytics.snowplow.runtime.AppInfo
import io.sentry.{Sentry => JSentry, SentryOptions}

object Sentry {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a good candidate to eventually move to the common libs. Unfortunately we cannot do that yet, because we are still using a mixture of sentry sdk versions. We can migrate it after we have consolidated on the newer sentry.

@istreeter istreeter self-requested a review December 20, 2023 10:34
@pondzix pondzix force-pushed the feature/add_monitoring branch from 3237fe5 to d149bd6 Compare December 20, 2023 12:30
@pondzix pondzix merged commit d149bd6 into develop Dec 20, 2023
2 checks passed
@istreeter istreeter deleted the feature/add_monitoring branch December 24, 2023 18:05
istreeter pushed a commit that referenced this pull request Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants