-
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
[Synthetics] Rename uptime plugin to synthetics #130037
Conversation
d634a2b
to
bc396d6
Compare
…rename-synthetics
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.
Operations owned changes LGTM
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.
Looks great to me. Minimal comments.
@@ -10,13 +10,13 @@ import { i18n } from '@kbn/i18n'; | |||
export const PLUGIN = { | |||
APP_ROOT_ID: 'react-uptime-root', | |||
DESCRIPTION: i18n.translate('xpack.uptime.pluginDescription', { | |||
defaultMessage: 'Uptime monitoring', | |||
defaultMessage: 'Synthetics monitoring', |
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.
Where are these two values displayed? Are they displayed to the end user?
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.
@@ -1,6 +1,6 @@ | |||
{ | |||
"configPath": ["xpack", "uptime"], | |||
"id": "uptime", | |||
"id": "synthetics", |
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.
I thought we agreed not to change the id as of yet. I'm not against it, but wondering why you decided to go ahead and change it now.
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.
feature id is what matters most, so i decided to go ahead with it.
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.
Wondering how that will impact alerting RBAC, here: https://github.com/elastic/kibana/blob/main/packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts#L24
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.
@elastic/actionable-observability can you remind me if the values above are meant to be the plugin id?
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.
Most likely feature id, since there are two from infra plugin logs and infrastructure
@@ -28510,7 +28510,6 @@ | |||
"xpack.uptime.emptyStateError.notFoundPage": "ページが見つかりません", | |||
"xpack.uptime.emptyStateError.title": "エラー", | |||
"xpack.uptime.enableAlert.editAlert": "アラートを編集", | |||
"xpack.uptime.featureRegistry.uptimeFeatureName": "アップタイム", |
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.
See this removed, but don't see a corresponding synthetics replacement added.
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.
new translation will be generated for new keys auto.
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.
There's xpack.uptime.index
in src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker
, does this need to be updated too?
we don't want to update that, we will keep uptime app/feature for a while. And potentially add new keys for the new app. |
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.
LGTM
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
ESLint disabled in files
ESLint disabled line counts
References to deprecated APIs
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @shahzad31 |
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
In preparation for new synthetics app
Rename uptime plugin to synthetics
Updated relevant code paths !
i will recommend reviewing by scrolling through changed files via pull request file tree