Skip to content

[Health Gateway] Update response aggregation#145761

Merged
dokmic merged 7 commits intoelastic:mainfrom
dokmic:feature/141885
Nov 25, 2022
Merged

[Health Gateway] Update response aggregation#145761
dokmic merged 7 commits intoelastic:mainfrom
dokmic:feature/141885

Conversation

@dokmic
Copy link
Copy Markdown
Contributor

@dokmic dokmic commented Nov 18, 2022

Summary

Resolves #141885.

Checklist

@dokmic dokmic added review Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// release_note:skip Skip the PR/issue when compiling release notes v8.7.0 labels Nov 18, 2022
@dokmic dokmic marked this pull request as ready for review November 21, 2022 19:58
@dokmic dokmic requested a review from a team as a code owner November 21, 2022 19:58
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

@dokmic dokmic requested review from lukeelmers and rudolf November 21, 2022 19:58
Copy link
Copy Markdown
Contributor

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for doing this much-needed cleanup & adding tests!

Copy link
Copy Markdown
Contributor

@rudolf rudolf left a comment

Choose a reason for hiding this comment

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

I'm a little bit unsure about exposing host urls and would err towards keeping it private (and relying on logs if we need full visibility), but I don't think it's a direct security threat.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why pick these methods instead of returning the whole class instance?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's because hapi complains about private methods that are not in their config schema.

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 109 115 +6
securitySolution 443 449 +6
total +20

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 68 74 +6
osquery 110 117 +7
securitySolution 520 526 +6
total +21

History

  • 💚 Build #90018 succeeded 0722189ef7d0ae89a8a5bfa0052221d087f23d31
  • 💚 Build #89702 succeeded 02b1b9241bfa47fcf8399e1fdf8dc29337b03c62
  • 💔 Build #89522 failed 4049a396d77d94fad52d9ab7cc3d9975638d2d49
  • 💔 Build #89320 failed f691b9dcd4c2eabf62c69cee24d1f6648f4f166c

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

@dokmic dokmic merged commit 2728ee3 into elastic:main Nov 25, 2022
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Nov 25, 2022
@dokmic dokmic deleted the feature/141885 branch November 25, 2022 09:56
jloleysens added a commit to jloleysens/kibana that referenced this pull request Nov 28, 2022
* main: (30 commits)
  [Cloud Posture] test latest findings table sort (elastic#144668)
  [api-docs] 2022-11-28 Daily api_docs build (elastic#146359)
  [api-docs] 2022-11-27 Daily api_docs build (elastic#146353)
  [api-docs] 2022-11-26 Daily api_docs build (elastic#146350)
  [DataViews] Fix form validation UX when the same data view name already exists (elastic#146126)
  [Discover] Prevent agg based visualizations of Discover saved objects with adhoc data views (elastic#145583)
  [Health Gateway] Update response aggregation (elastic#145761)
  [api-docs] 2022-11-25 Daily api_docs build (elastic#146341)
  [Metric threshold rule] Adds new context variable for group by keys (elastic#145654)
  [Controls] [Portable Dashboards] Add control group renderer example plugin (elastic#146189)
  Refactor Observability Overview Page (elastic#146182)
  Send complete test data to xMatters, so it can create an alert (elastic#145431)
  [Dashboard] [Controls] Allow options list suggestions to be sorted (elastic#144867)
  Add open API specification for list connector types (elastic#145951)
  skip flaky suite (elastic#146086)
  [ML] Removing duplicate tooltip text (elastic#146308)
  Refactor Rules Page (elastic#146193)
  [DOCS] Alert limit for cases (elastic#145950)
  Extend session index fields mapping with a session creation timestamp. (elastic#145997)
  [Files] Move <Image /> component to `@kbn/shared-ux` package (elastic#145995)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes review Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[health gateway] Decide on aggregation strategy for status API

6 participants