keptn / lifecycle-toolkit

Toolkit for cloud-native application lifecycle management
https://keptn.sh
Apache License 2.0
267 stars 111 forks source link

Improve Analysis documentation, to explain how to get failure #3542

Open RealAnna opened 4 weeks ago

RealAnna commented 4 weeks ago

If an objective like the following fails, the overall status will not reflect that since the objective is not a key objective

objectives:
  - analysisValueTemplateRef:
      name: request-duration
    keyObjective: false
    target:
      failure:
        greaterThan:
          fixedValue: 3
      warning:
        greaterThan:
          fixedValue: 2
    weight: 1
  totalScore:
    passPercentage: 90
    warningPercentage: 75

However the status is neither explicitly set to pass so it is omitted...

DoD