Skip to content

Conversation

@mariairiartef
Copy link
Contributor

@mariairiartef mariairiartef commented Jul 24, 2025

Part of #228964

Summary

As part of #228964, this extracts secondary metric information into a utility function. The goal is to prepare for the adoption of the new metric chart version introduced in elastic/elastic-charts#2666, so we can use the default secondary metric component with the data provided by this utility.

Checklist

@mariairiartef mariairiartef force-pushed the lens/228964/secondary-metric-info branch from 0eb1456 to 73328b7 Compare July 24, 2025 16:10
@mariairiartef mariairiartef force-pushed the lens/228964/secondary-metric-info branch from 73328b7 to 6a10597 Compare July 24, 2025 16:11
@mariairiartef mariairiartef self-assigned this Jul 28, 2025
@mariairiartef mariairiartef added refactoring Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// release_note:skip Skip the PR/issue when compiling release notes Feature:Lens backport:version Backport to applied version labels v9.2.0 labels Jul 28, 2025
@mariairiartef mariairiartef marked this pull request as ready for review July 28, 2025 10:59
@mariairiartef mariairiartef requested a review from a team as a code owner July 28, 2025 10:59
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@mariairiartef mariairiartef requested a review from dej611 July 28, 2025 10:59
@mariairiartef mariairiartef requested a review from dej611 July 29, 2025 15:01
@mariairiartef mariairiartef enabled auto-merge (squash) July 31, 2025 08:01
@mariairiartef mariairiartef merged commit 424fa5a into elastic:main Jul 31, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
expressionMetricVis 146 147 +1

Async chunks

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

id before after diff
expressionMetricVis 9.0KB 9.1KB +47.0B

History

cc @mariairiartef

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 4, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 229323 locally
cc: @mariairiartef

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 229323 locally
cc: @mariairiartef

delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
…9323)

Part of elastic#228964

## Summary

As part of elastic#228964, this extracts secondary metric information into a
utility function. The goal is to prepare for the adoption of the new
metric chart version introduced in elastic/elastic-charts#2666, so we
can use the default secondary metric component with the data provided by
this utility.

### Checklist

- [ ] [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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 229323 locally
cc: @mariairiartef

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 229323 locally
cc: @mariairiartef

@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
@mariairiartef mariairiartef added backport:skip This PR does not require backporting and removed backport:version Backport to applied version labels labels Aug 8, 2025
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 8, 2025
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
…9323)

Part of elastic#228964

## Summary

As part of elastic#228964, this extracts secondary metric information into a
utility function. The goal is to prepare for the adoption of the new
metric chart version introduced in elastic/elastic-charts#2666, so we
can use the default secondary metric component with the data provided by
this utility.

### Checklist

- [ ] [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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
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 Feature:Lens refactoring release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants