-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SLO] [Alerting] deployment agnostic slo burn rate rule tests #187924
Merged
mgiota
merged 38 commits into
elastic:main
from
mgiota:slo_burn_rate_deployment_agnostic_tests
Aug 21, 2024
Merged
Changes from 35 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f495936
deployment agnostic slo burn rate rule tests
mgiota 95feb99
merge main
dominiqueclarke 647e38b
add burn rate tests to agnostic api test directory
dominiqueclarke 4876a31
add builtkite config
dominiqueclarke 2ee040b
remove unused directory
dominiqueclarke f28913a
update codeowners
dominiqueclarke fb4d553
adjust alerting api
dominiqueclarke f1d7143
Update x-pack/test/api_integration/services/index.ts
dominiqueclarke 7d70b1a
sUpdate x-pack/test/api_integration/deployment_agnostic/oblt.stateful…
dominiqueclarke 390ebb6
Update .eslintrc.js
dominiqueclarke ad12156
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine c02f861
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 145ed27
adjust tests
dominiqueclarke 6ee3000
update service and test
dmlemeshko d43a0c7
Merge remote-tracking branch 'upstream/main' into slo_burn_rate_deplo…
dmlemeshko 34fc89c
avoid loading stateful services
dmlemeshko 770101b
remove duplicated service
dmlemeshko 9356c2a
remove unused alerting_api service
dmlemeshko 65e4e17
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 4978fe7
restore original services
dmlemeshko b7ae99a
Merge branch 'slo_burn_rate_deployment_agnostic_tests' of github.com:…
dmlemeshko 1facfd1
fix type errors
dmlemeshko dea02c6
remove tags
dmlemeshko 0be3024
Merge branch 'main' into slo_burn_rate_deployment_agnostic_tests
dmlemeshko 7053b2b
fix test loading and move types
dmlemeshko daa1b8f
Merge branch 'slo_burn_rate_deployment_agnostic_tests' of github.com:…
dmlemeshko 9b76f4f
add missing auth header
dmlemeshko c4cfa24
remove unused arg in alerting_api service
dmlemeshko 5f9ae2c
Merge branch 'main' into slo_burn_rate_deployment_agnostic_tests
dmlemeshko 7dd2649
fix types
dmlemeshko 52ecd8d
Merge branch 'slo_burn_rate_deployment_agnostic_tests' of github.com:…
dmlemeshko dd8ee61
Merge branch 'main' into slo_burn_rate_deployment_agnostic_tests
dominiqueclarke ea47dbf
remove unused path
mgiota 0a2b008
configs for deployment agnostic tests
mgiota 91a4511
Merge branch 'main' into slo_burn_rate_deployment_agnostic_tests
dmlemeshko 364eea3
Update x-pack/test/api_integration/deployment_agnostic/services/alert…
mgiota c3f0329
Merge branch 'main' into slo_burn_rate_deployment_agnostic_tests
elasticmachine 85273a2
better error message
mgiota File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
14 changes: 14 additions & 0 deletions
14
x-pack/test/api_integration/deployment_agnostic/apis/observability/alerting/index.ts
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { DeploymentAgnosticFtrProviderContext } from '../../../ftr_provider_context'; | ||
|
||
export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) { | ||
describe('Slo - Burn rate rule', () => { | ||
loadTestFile(require.resolve('./burn_rate_rule')); | ||
}); | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@dominiqueclarke all the api calls are tested with Admin role, just to confirm: these APIs are not available with lower privileges e.g.
Editor
?