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] Add labels field !! #193250

Merged
merged 5 commits into from
Sep 20, 2024
Merged

[Synthetics] Add labels field !! #193250

merged 5 commits into from
Sep 20, 2024

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Sep 18, 2024

Summary

Part of elastic/synthetics#729

Add labels fields !!

Show them in details

image

From add/edit configs

image

as part of es docs

image

@obltmachine
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

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

@shahzad31 shahzad31 changed the title [Synthetics] Add meta field !! [Synthetics] Add labels field !! Sep 19, 2024
@shahzad31 shahzad31 marked this pull request as ready for review September 19, 2024 17:23
@shahzad31 shahzad31 requested a review from a team as a code owner September 19, 2024 17:23
@shahzad31 shahzad31 added backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes release_note:feature Makes this part of the condensed release notes and removed backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes labels Sep 19, 2024
@justinkambic justinkambic added the Team:obs-ux-management Observability Management User Experience Team label Sep 19, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

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

LGTM

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Sep 19, 2024
}),
props: ({ field, setValue, trigger }): KeyValuePairsFieldProps => ({
readOnly,
keyLabel: i18n.translate('xpack.synthetics.monitorConfig.field.key.label', {
Copy link
Member

Choose a reason for hiding this comment

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

nit: how about we use Key instead of Field as label itself is considered as field?

@shahzad31 shahzad31 added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label Sep 20, 2024
@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 20, 2024

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 24cad7c
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-193250-24cad7cd3180

Failed CI Steps

Metrics [docs]

Async chunks

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

id before after diff
synthetics 963.3KB 965.1KB +1.8KB

History

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

@shahzad31 shahzad31 merged commit ca018a7 into elastic:main Sep 20, 2024
35 checks passed
@shahzad31 shahzad31 deleted the meta-field branch September 20, 2024 10:50
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 20, 2024
## Summary

Part of elastic/synthetics#729

Add labels fields !!

Show them in details

<img width="1520" alt="image"
src="https://github.com/user-attachments/assets/36050903-d2bc-458e-9f10-a912be76a9e9">

From add/edit configs

<img width="1718" alt="image"
src="https://github.com/user-attachments/assets/c3ed615e-cf0f-47f5-93f4-da9464add031">

as part of es docs

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/35a2c4d3-a1b1-4712-a45b-19750543e82d">

(cherry picked from commit ca018a7)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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 Sep 20, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] Add labels field !!
(#193250)](#193250)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-20T10:50:41Z","message":"[Synthetics]
Add labels field !! (#193250)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/synthetics/issues/729\r\n\r\nAdd labels
fields !!\r\n\r\nShow them in details \r\n\r\n<img width=\"1520\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/36050903-d2bc-458e-9f10-a912be76a9e9\">\r\n\r\nFrom
add/edit configs \r\n\r\n<img width=\"1718\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c3ed615e-cf0f-47f5-93f4-da9464add031\">\r\n\r\nas
part of es docs\r\n\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35a2c4d3-a1b1-4712-a45b-19750543e82d\">","sha":"ca018a7c890c6e297d1314d9fc4cef6a7f8f741a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management"],"title":"[Synthetics]
Add labels field
!!","number":193250,"url":"https://github.com/elastic/kibana/pull/193250","mergeCommit":{"message":"[Synthetics]
Add labels field !! (#193250)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/synthetics/issues/729\r\n\r\nAdd labels
fields !!\r\n\r\nShow them in details \r\n\r\n<img width=\"1520\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/36050903-d2bc-458e-9f10-a912be76a9e9\">\r\n\r\nFrom
add/edit configs \r\n\r\n<img width=\"1718\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c3ed615e-cf0f-47f5-93f4-da9464add031\">\r\n\r\nas
part of es docs\r\n\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35a2c4d3-a1b1-4712-a45b-19750543e82d\">","sha":"ca018a7c890c6e297d1314d9fc4cef6a7f8f741a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193250","number":193250,"mergeCommit":{"message":"[Synthetics]
Add labels field !! (#193250)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/synthetics/issues/729\r\n\r\nAdd labels
fields !!\r\n\r\nShow them in details \r\n\r\n<img width=\"1520\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/36050903-d2bc-458e-9f10-a912be76a9e9\">\r\n\r\nFrom
add/edit configs \r\n\r\n<img width=\"1718\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c3ed615e-cf0f-47f5-93f4-da9464add031\">\r\n\r\nas
part of es docs\r\n\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35a2c4d3-a1b1-4712-a45b-19750543e82d\">","sha":"ca018a7c890c6e297d1314d9fc4cef6a7f8f741a"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:feature Makes this part of the condensed release notes Team:obs-ux-management Observability Management User Experience Team v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants