[ANALYTICS-496] Implement email/notification/alert based on the endpoint results Created: 07/Jul/23  Updated: 22/Aug/23

Status: Open
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Alberto Soto Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-07-18-15-19-03-218.png     PNG File image-2023-07-18-15-24-12-473.png    
Issue Links:
relation
is related to ANALYTICS-490 Generate the common structure validat... Open
is related to ANALYTICS-495 Create a script that will be triggere... Open
is related to ANALYTICS-470 Action plan for monitoring the analyt... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Connectors Health-checks
Team: AuthorX

 Description   

Context
To have visibility and a health check for the connector pack, we need to integrate a Health check for analytics. The process need to generate an structure for the validator of analytics, use that structure in some endpoints and have these endpoints to be executed regularly by jenkins. Check details on related linked tasks.

Acceptance criteria

+ Implement email/notification/alert based on the endpoint results from Analytics connectors.

+ A notification/ alert message displays on slack with the content pointing to which connect is failing and error details. Examples like in saas-alerts channel.

     

     

[Optional] Also send a notification email to addons@magnolia-cms.com  

+ The notification format could be
Addons healthcheck failed on:

{%s connector1}

Stacktrace: %s

{%s connector2}

Stacktrace: %s

.....
 The failed connectors and the stacktraces need to be parsed from the rest endpoint: ANALYTICS-468

Development notes

This process may be launched using CICD or inside the logic from the new module
Using the endpoints that validator structured generated by ANALYTICS-468 we need to notify or alert when the system fails on connection.


Generated at Sun Feb 11 23:19:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.