You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
While investigating issue keptn-contrib/dynatrace-service#603, it emerged that the lighthouse-service will pass an evaluation if the SLO.yaml allows, i.e. only contains objectives that pass, regardless of the state of the result field in the sh.keptn.event.get-sli.finished event it receives from the sli-provider.
Environment
Keptn Version (keptn version): 0.10.0
Affected Component
Approval
Bridge
CLI
Datastore
Docs
Distributor / Event Broker
Helm
Istio
Jmeter
Kubernetes Integration
Openshift Integration
REST API
Webhook
Describe the bug
In addition to the description above, the bug is demonstrated in the following events:
The dynatrace-service produces the following sh.keptn.event.get-sli.finished event:
{
"data": {
"get-sli": {
"end": "2021-11-23T08:23:50.319Z",
"indicatorValues": [
{
"message": "Data Explorer tile could not be converted to a metric query: unknown space aggregation: ",
"metric": "response_time",
"success": false,
"value": 0
},
{
"metric": "srt",
"success": true,
"value": 28.729770608271618
}
],
"start": "2021-11-23T08:18:50.319Z"
},
"labels": {},
"message": "Data Explorer tile could not be converted to a metric query: unknown space aggregation: ",
"project": "project1",
"result": "fail",
"service": "service1",
"stage": "quality-gate",
"status": "succeeded"
},
"id": "c4b0a7bc-cff1-4e72-89db-e547cd6c7704",
"source": "dynatrace-service",
"specversion": "1.0",
"time": "2021-11-23T08:24:21.195Z",
"type": "sh.keptn.event.get-sli.finished",
"shkeptncontext": "f91f4eec-a93a-447a-b1e8-db52b948853a",
"shkeptnspecversion": "0.2.3",
"triggeredid": "245e7066-d431-49fc-ba18-d09f6b00b806"
}
Please let's discuss if we fix this bug by solving our technical depth in the lighthouse-service (i.e. the lighthouse-service sends out the sli.triggered event instead of the shipyard-controller). More details can be found here keptn/enhancement-proposals#56
While investigating issue keptn-contrib/dynatrace-service#603, it emerged that the lighthouse-service will pass an evaluation if the
SLO.yaml
allows, i.e. only contains objectives that pass, regardless of the state of theresult
field in thesh.keptn.event.get-sli.finished
event it receives from the sli-provider.Environment
keptn version
): 0.10.0Affected Component
Describe the bug
In addition to the description above, the bug is demonstrated in the following events:
The dynatrace-service produces the following
sh.keptn.event.get-sli.finished
event:This is accompanied by the following SLO file:
The lighthouse then produces the following
sh.keptn.event.evaluation.finished
event:Expected behavior
The lighthouse-service should fail the evaluation if within the
sh.keptn.event.get-sli.finished
eventresult=fail
Current behavior
The lighthouse-service erroneously passes the evaluation
The text was updated successfully, but these errors were encountered: