Skip to content

wip(metric-issues): Update script to create metric issues #83025

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

Closed
wants to merge 1 commit into from

Conversation

snigdhas
Copy link
Member

@snigdhas snigdhas commented Jan 7, 2025

Adding to bin/load-mocks to generate metric issues for local testing.
Uses:
bin/load-mocks --load-metric-issues --metric_alert_id={alert_id} - this will create a metric issue for the given metric alert rule
bin/load-mocks --load-metric-issues - this will create a metric alert rule and then create a metric issue for that rule

using the --load-metric-issues flag will skip any of the other setup that bin/load-mocks usually handles.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 7, 2025
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 19.23077% with 21 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/utils/mockdata/core.py 19.23% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #83025      +/-   ##
==========================================
+ Coverage   87.55%   87.63%   +0.07%     
==========================================
  Files        9411     9423      +12     
  Lines      536904   537012     +108     
  Branches    21113    21113              
==========================================
+ Hits       470107   470603     +496     
+ Misses      66431    66043     -388     
  Partials      366      366              

@getsantry
Copy link
Contributor

getsantry bot commented Jan 29, 2025

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Jan 29, 2025
@snigdhas snigdhas removed the Stale label Jan 29, 2025
@snigdhas snigdhas closed this Feb 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant