apache/dolphinscheduler

[Improvement][Alter] Add instance link to alert like email

Open

Aperta il 21 ott 2024

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Java (11.659 star) (4324 fork)batch import
discussionhelp wantedimprovement

Descrizione

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

image

image

The current alert content has some information like projectName, processName, logPath, I am consider can we add the task instance link to the content. Then when job failed we can click the link directly into the instance, to check the log.

The link address pattern is like:

http://<uiAddress>/dolphinscheduler/ui/projects/<projectCode>/workflow/instances/<processId>?code=<processDefinitionCode>
  • uiAddress need config when startup
  • projectCode, processId, processDefinitionCode all can get them directly, because the current content has those fields.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Guida contributor