"Steps" configuration options for infrastructure inventory metrics#248360
"Steps" configuration options for infrastructure inventory metrics#248360smith merged 26 commits intoelastic:mainfrom
Conversation
|
/oblt-deploy |
|
/oblt-deploy |
|
/oblt-deploy |
last value
Adds support for filter aggregations that wrap other aggregations like top_metrics.
This enables metrics like last_value that use filter { exists } + top_metrics to work correctly.
Changes:
- Add FilterWithNestedAggRT type for detecting filter aggregations
- Update getValue to recursively handle nested aggregations within filters
- Add extractFirstNumericValue to extract numeric values from top_metrics for non-metadata fields
|
/oblt-deploy |
|
/oblt-deploy |
cesco-f
left a comment
There was a problem hiding this comment.
actionable-obs-team changes LGTM.
|
Ignore this. I was able to reproduce this once but now I'm unable to reproduce it with a "fresh install" and incognito browser. |
|
/oblt-deploy |
|
Starting backport for target branches: 9.3 https://github.com/elastic/kibana/actions/runs/21233501037 |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
|
…lastic#248360) Add "Last value" metric option and "Steps" gradient configuration for Infrastructure inventory. <img width="1428" height="656" alt="image" src="https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2" /> <img width="930" height="984" alt="image" src="https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465" /> Fixes elastic#248382 --------- Co-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 381fa58)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ics (#248360) (#249977) # Backport This will backport the following commits from `main` to `9.3`: - ["Steps" configuration options for infrastructure inventory metrics (#248360)](#248360) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan L Smith","email":"nathan.smith@elastic.co"},"sourceCommit":{"committedDate":"2026-01-22T02:15:30Z","message":"\"Steps\" configuration options for infrastructure inventory metrics (#248360)\n\nAdd \"Last value\" metric option and \"Steps\" gradient configuration for\nInfrastructure inventory.\n\n<img width=\"1428\" height=\"656\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2\"\n/>\n\n<img width=\"930\" height=\"984\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465\"\n/>\n\nFixes #248382\n\n---------\n\nCo-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"381fa5886aae4b9c12729685fc38017240227137","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","ci:build-storybooks","backport:version","v9.3.0","backport:previous-minor","v9.4.0"],"title":"\"Steps\" configuration options for infrastructure inventory metrics","number":248360,"url":"https://github.com/elastic/kibana/pull/248360","mergeCommit":{"message":"\"Steps\" configuration options for infrastructure inventory metrics (#248360)\n\nAdd \"Last value\" metric option and \"Steps\" gradient configuration for\nInfrastructure inventory.\n\n<img width=\"1428\" height=\"656\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2\"\n/>\n\n<img width=\"930\" height=\"984\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465\"\n/>\n\nFixes #248382\n\n---------\n\nCo-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"381fa5886aae4b9c12729685fc38017240227137"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248360","number":248360,"mergeCommit":{"message":"\"Steps\" configuration options for infrastructure inventory metrics (#248360)\n\nAdd \"Last value\" metric option and \"Steps\" gradient configuration for\nInfrastructure inventory.\n\n<img width=\"1428\" height=\"656\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2\"\n/>\n\n<img width=\"930\" height=\"984\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465\"\n/>\n\nFixes #248382\n\n---------\n\nCo-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"381fa5886aae4b9c12729685fc38017240227137"}}]}] BACKPORT--> Co-authored-by: Nathan L Smith <nathan.smith@elastic.co> Co-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…lastic#248360) Add "Last value" metric option and "Steps" gradient configuration for Infrastructure inventory. <img width="1428" height="656" alt="image" src="https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2" /> <img width="930" height="984" alt="image" src="https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465" /> Fixes elastic#248382 --------- Co-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…lastic#248360) Add "Last value" metric option and "Steps" gradient configuration for Infrastructure inventory. <img width="1428" height="656" alt="image" src="https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2" /> <img width="930" height="984" alt="image" src="https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465" /> Fixes elastic#248382 --------- Co-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…lastic#248360) Add "Last value" metric option and "Steps" gradient configuration for Infrastructure inventory. <img width="1428" height="656" alt="image" src="https://github.com/user-attachments/assets/cf53fd1f-df01-4376-8284-2a9e88061fb2" /> <img width="930" height="984" alt="image" src="https://github.com/user-attachments/assets/c97fc4ea-a5a6-41b8-830e-72340b4fa465" /> Fixes elastic#248382 --------- Co-authored-by: Carlos Crespo <carloshenrique.leonelcrespo@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>


Add "Last value" metric option and "Steps" gradient configuration for Infrastructure inventory.
Fixes #248382