Skip to content

feat(crons): Add thresholds to monitor config payload - #2842

Merged
rjo100 merged 6 commits into
masterfrom
rjo100/add-monitor-thresholds
Dec 12, 2023
Merged

rjo100 merged 6 commits into
masterfrom
rjo100/add-monitor-thresholds

Conversation

@rjo100

@rjo100 rjo100 commented Dec 11, 2023

Copy link
Copy Markdown
Contributor

Adds failure_issue_threshold and recovery_threshold into MonitorConfig payload. Allows for SDKs to set thresholds programmatically via upsert.

@rjo100
rjo100 requested a review from a team as a code owner December 11, 2023 23:58
@rjo100
rjo100 requested a review from a team December 11, 2023 23:58
Comment thread relay-monitors/src/lib.rs
Comment on lines +111 to +115
failure_issue_threshold: Option<u64>,

/// How many consecutive OK check-ins it takes to resolve an issue
#[serde(default, skip_serializing_if = "Option::is_none")]
recovery_threshold: Option<u64>,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's make sure to add these to the develop.sentry.dev SDK docs as well.

@jjbayer jjbayer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread relay-monitors/src/lib.rs Resolved
Comment thread relay-monitors/src/lib.rs Resolved

@olksdr olksdr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be great to keep the naming consistent throughout the docs, checkin vs. check-in

Comment thread relay-monitors/src/lib.rs Resolved
@rjo100
rjo100 merged commit c3d5ead into master Dec 12, 2023
@rjo100
rjo100 deleted the rjo100/add-monitor-thresholds branch December 12, 2023 22:38
jan-auer added a commit that referenced this pull request Dec 19, 2023
* master: (35 commits)
  fix(spans): Parse quotes in MySQL (#2846)
  ref(cardinality): Use a Lua script and in-memory cache for the cardinality limiter (#2849)
  fix(spans): Detect hex with fallback scrubber (#2868)
  release: 23.12.0
  Revert "ci: Update upload-artifact and download-artifact actions" (#2866)
  Revert "build: Update axum and http" (#2863)
  feat(spans): Allow resource.img spans (#2855)
  build: Update axum and http (#2844)
  fix(build): Add additional dependencies to the release build (#2858)
  ci: Update upload-artifact and download-artifact actions (#2861)
  feat(spans): Parse timestamps from strings (#2857)
  fix(spans): Scrub integer file extensions (#2856)
  feat(spans): Remove unused transaction tag from resource metrics (#2853)
  ref(cardinality): Recover buckets on cardinality limiter failure (#2852)
  feat(server): Org rate limit per metric bucket (#2836)
  ref(spans): List metric tags explicitly (#2834)
  feat(spans): Resource response sizes as measurements (#2845)
  feat(crons): Add thresholds to monitor config payload (#2842)
  feat(spans): Allow ingestion of metrics summary on spans (#2823)
  ref(crons): Add documentation to CheckInMessageType (#2840)
  ...
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.

4 participants