Skip to content
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

[Cases] Show the Average time to close stat in the all cases page #131909

Merged
merged 67 commits into from
May 16, 2022

Conversation

academo
Copy link
Contributor

@academo academo commented May 10, 2022

Summary

Closes #131510

New stat block:
image

Average time to close explanation tooltip:
image

Checklist

Delete any items that are not applicable to this PR.

Release note

Add average time to close metric in Cases

@academo academo added backport:skip This commit does not require backporting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Cases Cases feature release_note:feature Makes this part of the condensed release notes v8.3.0 labels May 10, 2022
@academo academo self-assigned this May 10, 2022
@academo academo marked this pull request as ready for review May 11, 2022 09:18
@academo academo requested a review from a team as a code owner May 11, 2022 09:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@academo academo requested a review from cnasikas May 11, 2022 11:02
vitaliidm and others added 14 commits May 12, 2022 09:03
Addresses
- elastic#124715

## Summary

- adds bulkEdit method to rulesClient
- adds multi_terms bucket aggregations to savedObjectClient
- adds createPointInTimeFinderAsInternalUser to encryptedSavedObjectClient
- adds alerting API for bulkEdit
```bash
curl --location --request POST 'http://localhost:5601/kbn/internal/alerting/rules/_bulk_edit' \
--header 'kbn-xsrf: reporting' \
--header 'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids": ["4cb80374-b5c7-11ec-8f1e-adaa7d7d57e5"],
    "operations":  [{
        "operation": "add",
        "field": "tags",
        "value": ["foo"]
    }]
}'
```
### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios


## Release note

Adds new `bulkEdit` method to alerting rulesClient and internal _bulk_edit API, that allow bulk editing of rules.
…figuration (elastic#132047)

* [scalability testing] extend FTR config

* update schema with defaults for testData
* [artifacts] Test cloud context

This artifact currently has no consumers, but in the near future the
release-manager will produce Cloud images using the context.  This
ensures builds are working before we publish artifacts.

* update permissions

* fix if statement

* DOCKER_CONTEXT -> KIBANA_DOCKER_CONTEXT
…astic#132029)

* [Fleet] Fixing wrong validation message displayed [Closes#131227]

* Condition added in function validateLogstashHosts in the try catch
* [Fleet]: Wrong validation message is displayed when host field is left empty while adding new output. elastic#131227
Co-authored-by: Pernot Nicolas nicolasn.pernot1@gmail.com

* Fix lint error

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
… table (elastic#131358)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…quickly (elastic#131759)

* changing version field to text input

* disable save button

* fixing storybook

* adding doc links

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [maps] Vector tile inspector adapter

* empty prompt

* add layer select

* tile request view

* show gridTile es path and body

* show error message

* hits request

* tab with editor

* clean up

* open in console

* do not track same tile multiple times

* remove layer from vector tile inspector when layer is removed

* refactor tile request generation

* show path in inspector

* requests view callout

* remove duplicated server side code

* remove unused files

* fix map_actions test

* open requests view when getting requests from inspector

* only show view when adapter is present

* fix open in console link not matching tile request

* tslint

* fix search sessions functional test

* update trouble shooting docs

* use bold in docs

* fix tiles at zoom level 0

* revert changes to mb_map

* include path when copying to clipboard

* clear inspector when layer type changes

* tslint fix

* clean-up

* update callout copy

* empty prompt copy

* copy updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
elastic#131992)

* Add a note that if list pipelines exceeds 10k, Kibana faces performance issue. elastic#131992
* Shareable rule event log

* Addressed comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@academo academo changed the title [Cases] Show the MTTR stat in the all cases page [Cases] Show the Average time to close stat in the all cases page May 12, 2022
Copy link
Contributor

@lcawl lcawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI text LGTM

@academo academo requested a review from a team as a code owner May 13, 2022 08:16
@cnasikas
Copy link
Member

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
cases 426 427 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cases 296.8KB 298.3KB +1.5KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @academo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Cases Cases feature release_note:feature Makes this part of the condensed release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Cases] Add MTTR metric to the all cases page