Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Introduce sh.keptn.log.error event #4306

@bacherfl

Description

@bacherfl

As discussed in issue #4030, we determined that we have the need for a log event in order to have a way to communicate errors encountered by Uniform Integration services, even when they are not executed within a task sequence execution context (e.g.., if there is an error during the project synchronisation of the dynatrace-service).
The log event shall have the following structure:

{
  "specversion": "1.0",
  "id": "c4d3a334-6cb9-4e8c-a372-7e0b45942f53",                 < distributor/service creates ID
  "source": "source-service",                                   < the source = service
  "type": "sh.keptn.log.error",                                
  "datacontenttype": "application/json",
  "shkeptncontext": "a3e5f16d-8888-4720-82c7-6995062905c1",     < optional
  "triggeredid": "3f9640b6-1d2a-4f11-95f5-23259f1d82d6",        < optional
  "shkeptnspecversion": "0.2.3"
  "data": {
    "message": "This Error occured"
    "integrationid": ""                        < optional, will be set by the distributor if not set           
    "task": ""                                                  < optional
  }
}

Definition of Done:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions