Skip to content

Commit

Permalink
Add status to APM API tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed May 24, 2021
1 parent f53bbfa commit ba2e5ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ kibana_vars=(
xpack.reporting.roles.allow
xpack.reporting.roles.enabled
xpack.rollup.enabled
xpack.ruleRegistry.unsafe.write.enabled
xpack.ruleRegistry.write.enabled
xpack.searchprofiler.enabled
xpack.security.audit.enabled
xpack.security.audit.appender.type
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/observability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This will only enable the UI for these pages. In order to have alert data indexe
you'll need to enable writing in the [Rule Registry plugin](../rule_registry/README.md):
```yaml
xpack.ruleRegistry.unsafe.write.enabled: true
xpack.ruleRegistry.write.enabled: true
```
When both of the these are set to `true`, your alerts should show on the alerts page.
Expand Down
2 changes: 2 additions & 0 deletions x-pack/test/apm_api_integration/tests/alerts/rule_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
query: {
start: new Date(now - 30 * 60 * 1000).toISOString(),
end: new Date(now).toISOString(),
status: 'all',
},
})
)
Expand Down Expand Up @@ -572,6 +573,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
query: {
start: new Date(now - 30 * 60 * 1000).toISOString(),
end: new Date().toISOString(),
status: 'all',
},
})
)
Expand Down

0 comments on commit ba2e5ae

Please sign in to comment.