-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…7789) # Backport This will backport the following commits from `main` to `8.8`: - [feat(slo): simplify calendar aligned time window (#157759)](#157759) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2023-05-15T18:59:36Z","message":"feat(slo): simplify calendar aligned time window (#157759)","sha":"e5f4dca5557a9d25acfd2ec2632aa3f35cd3732e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: Actionable Observability","backport:prev-minor","v8.9.0"],"number":157759,"url":"https://github.com/elastic/kibana/pull/157759","mergeCommit":{"message":"feat(slo): simplify calendar aligned time window (#157759)","sha":"e5f4dca5557a9d25acfd2ec2632aa3f35cd3732e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157759","number":157759,"mergeCommit":{"message":"feat(slo): simplify calendar aligned time window (#157759)","sha":"e5f4dca5557a9d25acfd2ec2632aa3f35cd3732e"}}]}] BACKPORT--> Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
- Loading branch information
1 parent
a3b5c2a
commit 4c2b4a0
Showing
19 changed files
with
405 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
...ugins/observability/docs/openapi/slo/components/schemas/time_window_calendar_aligned.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
title: Calendar aligned time window definition | ||
required: | ||
- duration | ||
- calendar | ||
- isCalendar | ||
description: Defines properties for calendar aligned time window | ||
type: object | ||
properties: | ||
duration: | ||
description: the duration formatted as {duration}{unit} | ||
description: the duration formatted as {duration}{unit}, accept '1w' (weekly calendar) or '1M' (monthly calendar) only | ||
type: string | ||
example: 1M | ||
calendar: | ||
description: Defines the calendar start date | ||
type: object | ||
properties: | ||
startTime: | ||
description: The start date to use. | ||
type: string | ||
example: "2022-01-01T08:00:00.000Z" | ||
isCalendar: | ||
description: Indicates a calendar aligned time window | ||
type: boolean | ||
example: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.