Skip to content

Commit 934faf8

Browse files
florent-leborgnenastasha-solomonbmorelli25
authored
[Lens] Page for Metric charts (#3645)
Fixes #2543 Here is a draft of a page for metrics charts. Would like reviewers to advise on anything missing and inaccuracies in particular for the settings part where there may be more nuance to add in some places. Let's finetune what we can and once we have a few different chart pages ready, we can release in small batches Done: - [x] Optimize structure for readability - [x] Analyze competition, check discuss forums, test product and check existing materials to decide on optimal content depth - [x] Extract best practices from EUI's dataviz guidelines - [x] Test current content - doesn't mean the doc is exhaustive, just that what's in there is correctly reflecting the product, there may be more nuance to add edge cases. - [x] Have doc reviewed for completeness and accuracy - [x] Have visualization best practices checked Missing: - ~refine examples (various use cases but also various configuration setups)~ Done and checked - ~visuals for examples~ Done and checked - ~add some advanced, undocumented options that don't look so simple for defining values~ Done and checked Release plan: - We'll release these as hidden for now, and turn it on once we have a batch of pages that makes sense (metric, line, bar, area, time series pages at least) - We'll remove duplicated content from main Lens page when turning those pages on --------- Co-authored-by: Nastasha Solomon <[email protected]> Co-authored-by: Brandon Morelli <[email protected]>
1 parent 3a2c055 commit 934faf8

16 files changed

+325
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ AGENTS.md
1212
.github/instructions/**.instructions.md
1313
CLAUDE.md
1414
GEMINI.md
15-
.cursor
15+
.cursor
16+
17+
# VS code settings
18+
.vscode
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::{dropdown} Advanced settings
2+
Several advanced options allow you to refine the behavior of the breakdown:
3+
4+
- **Include documents without the selected field**: Off by default.
5+
- **Group remaining values as "Other"**: On by default.
6+
- **Enable accuracy mode**: This option improves results for high-cardinality data, but increases the load on the {{es}} cluster.
7+
- **Include values**: Values from the breakdown dimension to always show a tile for.
8+
- **Exclude values**: Values from the breakdown dimension to always exclude from the displayed tiles.
9+
:::
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::{dropdown} Advanced settings
2+
Depending on the data you defined, several options allow you to apply additional filtering to the data taken into account to compute the metric's value:
3+
4+
- **Normalize by unit**: Normalize the metric values to show per unit of time.
5+
- **Filter by**: Specify a query.
6+
- **Reduced time range**: Reduce the time range specified on the dashboard's time filter by the specified duration.
7+
- **Time shift**: Shift the time range by the specified duration. This is useful if the value should use a different time range than the one selected on the dashboard.
8+
- **Hide zero values**: Don't show values equal to zero. This option is on by default.
9+
:::
181 KB
Loading
361 KB
Loading
155 KB
Loading
38.9 KB
Loading
136 KB
Loading
38.2 KB
Loading
201 KB
Loading

0 commit comments

Comments
 (0)