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

ADR for metric alerts #8491

Closed
linear bot opened this issue May 7, 2024 · 2 comments
Closed

ADR for metric alerts #8491

linear bot opened this issue May 7, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 7, 2024

  • create document with engineering solution and alternatives
  • create engineering cards
Copy link
Author

linear bot commented May 7, 2024

Copy link

greptile-apps bot commented May 7, 2024

To implement an ADR for metric alerts, review the MetricMonitorAlertEvent struct in /backend/alerts/alerts.go for event data structure, and SendMetricMonitorAlert function for the alert sending mechanism. Integration points with notification channels can be found in /backend/alerts/integrations/integrations.go and specific implementations for channels like Microsoft Teams in /backend/alerts/integrations/microsoft-teams/messages_test.go. For data models and operations, refer to /backend/model/model.go. Ensure the ADR aligns with these existing patterns and structures.

References

/backend/alerts/alerts.go
/backend/model/model.go
/backend/alerts/integrations/integrations.go
/backend/private-graph/graph/generated/generated.go
/backend/alerts/integrations/microsoft-teams/messages_test.go
/backend/private-graph/graph/model/models_gen.go
/backend/public-graph/graph/resolver.go
/backend/private-graph/graph/resolver.go
/backend/zapier/zapier.go
/frontend/src/pages/Alerts/Alerts.tsx

Ask Greptile

@linear linear bot closed this as completed May 17, 2024
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

No branches or pull requests

0 participants