-
Notifications
You must be signed in to change notification settings - Fork 90
Add JSON patch to remove SLO assets for spec versions less than 3.4.0 #884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
d7b0288
b225c40
b01367e
3161ea5
72fa169
dd33139
6250bd1
c8d3ffc
833b6d8
432bfa3
d03827b
335b842
68f0ca3
5b59414
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "attributes": { | ||
| "name": "Admin Console Availability", | ||
| "description": "", | ||
| "indicator": { | ||
| "type": "sli.kql.custom", | ||
| "params": { | ||
| "index": "kbn-data-forge-fake_stack.admin-console-*", | ||
| "filter": "", | ||
| "good": "http.response.status_code < 500", | ||
| "total": "http.response.status_code : *", | ||
| "timestampField": "@timestamp" | ||
| } | ||
| }, | ||
| "budgetingMethod": "occurrences", | ||
| "timeWindow": { | ||
| "duration": "7d", | ||
| "type": "rolling" | ||
| }, | ||
| "objective": { | ||
| "target": 0.99 | ||
| }, | ||
| "tags": [], | ||
| "groupBy": "url.domain" | ||
| }, | ||
| "id": "good_content-slo-abc-1", | ||
| "references": [], | ||
| "type": "slo" | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||||
| format_version: 3.3.1 | ||||||||||||
| format_version: 3.4.0 | ||||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be updated the spec version for the compliance test here ? package-spec/compliance/features/basic.feature Lines 16 to 19 in 4366bf7
That test is running successfully even if that spec version is not updated.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the package has SLOs it should be updated, yes.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If that spec version is updated to be Or should it be updated the one with stack
Would it be better to create a new content package without SLO , so it can be tested that scenario with previous spec versions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a new |
||||||||||||
| name: good_content | ||||||||||||
| title: Good content package | ||||||||||||
| description: > | ||||||||||||
|
|
||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| errors: | ||
| exclude_checks: | ||
| - PSR00001 # Allow to use unreleased features in GA package. | ||
|
Comment on lines
+1
to
+3
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added since |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these changes be mentioned in the changelog too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a new changelog entry for these changes in dd33139