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

[Synthetics] Disable throttling UI configuration for monitor #156798

Merged
merged 11 commits into from
May 9, 2023

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented May 5, 2023

Summary

Fixes #156512

Added a help-text to inform user about why it's disabled. Link will lead to notice in synthetics repo.

image

For testing and dev purpose adding a ui setting which can be used to enable throttling ui configuration.

via key in kibana config

uiSettings.overrides.observability:syntheticsThrottlingEnabled: true

or via UI

image

Release note

Network throttling has temporarily been disabled for browser based Synthetics monitors with the 8.8.0 release. This will be enabled at some point in the future. The latest status can be found here.

@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@shahzad31 shahzad31 added release_note:skip Skip the PR/issue when compiling release notes v8.8.0 v8.9.0 labels May 5, 2023
@shahzad31 shahzad31 marked this pull request as ready for review May 5, 2023 08:15
@shahzad31 shahzad31 requested review from a team as code owners May 5, 2023 08:15
@botelastic botelastic bot added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label May 5, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Core changes LGTM.

I know this is following a predefined design, but I wonder if using an actual callout component would be cleaner: one with minimal padding/no heading (per the EUI site https://eui.elastic.co/#/display/callout). Perhaps this could be placed below the field label and input field. Just wanted to share the idea, feel free to ignore!

@dominiqueclarke dominiqueclarke self-requested a review May 5, 2023 15:57
@dominiqueclarke dominiqueclarke self-requested a review May 8, 2023 14:33
Copy link
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

AO code change looks good!

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observability 553 562 +9

Any counts in public APIs

Total count of every any typed public API. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats any for more detailed information.

id before after diff
observability 43 45 +2

Async chunks

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

id before after diff
synthetics 1.2MB 1.2MB +520.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observability 56.8KB 57.0KB +204.0B
Unknown metric groups

API count

id before after diff
observability 559 568 +9

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 399 403 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 479 483 +4
total +6

History

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

@shahzad31 shahzad31 merged commit f0087d7 into elastic:main May 9, 2023
@shahzad31 shahzad31 deleted the disable-throttling branch May 9, 2023 08:49
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 9, 2023
…#156798)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Co-authored-by: Vignesh Shanmugam <vignesh.shanmugam22@gmail.com>
(cherry picked from commit f0087d7)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.8

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 9, 2023
…156798) (#157141)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Synthetics] Disable throttling UI configuration for monitor
(#156798)](#156798)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-05-09T08:49:40Z","message":"[Synthetics]
Disable throttling UI configuration for monitor
(#156798)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dominique Clarke <dominique.clarke@elastic.co>\r\nCo-authored-by:
Vignesh Shanmugam
<vignesh.shanmugam22@gmail.com>","sha":"f0087d7f0b45d26fcd0f93a39e71389c955c675e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:uptime","release_note:skip","v8.8.0","v8.9.0"],"number":156798,"url":"https://github.com/elastic/kibana/pull/156798","mergeCommit":{"message":"[Synthetics]
Disable throttling UI configuration for monitor
(#156798)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dominique Clarke <dominique.clarke@elastic.co>\r\nCo-authored-by:
Vignesh Shanmugam
<vignesh.shanmugam22@gmail.com>","sha":"f0087d7f0b45d26fcd0f93a39e71389c955c675e"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156798","number":156798,"mergeCommit":{"message":"[Synthetics]
Disable throttling UI configuration for monitor
(#156798)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Dominique Clarke <dominique.clarke@elastic.co>\r\nCo-authored-by:
Vignesh Shanmugam
<vignesh.shanmugam22@gmail.com>","sha":"f0087d7f0b45d26fcd0f93a39e71389c955c675e"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
@paulb-elastic paulb-elastic added release_note:deprecation and removed release_note:skip Skip the PR/issue when compiling release notes labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:deprecation Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.8.0 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Synthetics] Disable throttling setting with callout