Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ad5f7da
Draft page for Metric charts
florent-leborgne Oct 24, 2025
203cb6d
Merge branch 'main' into metrics-charts-page
florent-leborgne Oct 24, 2025
7216290
metric chart better
florent-leborgne Oct 27, 2025
2104bb5
Merge branch 'metrics-charts-page' of github.com:florent-leborgne/doc…
florent-leborgne Oct 27, 2025
f60dc08
more data options
florent-leborgne Oct 27, 2025
9d62b82
styling
florent-leborgne Oct 27, 2025
95cd179
advanced options for main data configs
florent-leborgne Oct 29, 2025
a5728fa
refinement and examples
florent-leborgne Oct 29, 2025
f40320c
move chart page under Lens
florent-leborgne Oct 29, 2025
08dbe4a
Merge branch 'main' into metrics-charts-page
florent-leborgne Oct 29, 2025
180e811
properly organize files + minor content tweaks
florent-leborgne Nov 6, 2025
9d00500
better format for page views metric example
florent-leborgne Nov 7, 2025
4c1209e
Merge branch 'main' into metrics-charts-page
florent-leborgne Nov 7, 2025
137c10e
additional image to show dynamic coloring options for 2ndary metrics
florent-leborgne Nov 7, 2025
106a53a
update revenue example to something more o11y related
florent-leborgne Nov 7, 2025
56d52a6
replace other revenue example with more o11y oriented example for bre…
florent-leborgne Nov 7, 2025
c3f8ad0
advanced scenario for progress bar and maximum value
florent-leborgne Nov 7, 2025
fc9458b
Merge branch 'main' of github.com:elastic/docs-content into metrics-c…
florent-leborgne Nov 10, 2025
2ae1e14
screenshots in dark mode and with varied good layouts
florent-leborgne Nov 12, 2025
5e844f2
hide page from toc for now
florent-leborgne Nov 12, 2025
7e9204d
Merge branch 'main' into metrics-charts-page
florent-leborgne Nov 12, 2025
9dd35c4
take Marco's feedback into account
florent-leborgne Nov 18, 2025
4cc1948
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
b67cbe5
Apply suggestions from code review
florent-leborgne Nov 19, 2025
2102876
Update explore-analyze/_snippets/lens-value-advanced-settings.md
florent-leborgne Nov 19, 2025
9f9c7ea
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
1cec921
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
b1b0d66
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
bc23ebc
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
fade68f
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
2a5a692
Update explore-analyze/visualize/charts/metric-charts.md
florent-leborgne Nov 19, 2025
695927c
Merge branch 'main' into metrics-charts-page
florent-leborgne Nov 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ AGENTS.md
.github/instructions/**.instructions.md
CLAUDE.md
GEMINI.md
.cursor
.cursor

# VS code settings
.vscode
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:::{dropdown} Advanced settings
Several advanced options allow you to refine the behavior of the breakdown:

- **Include documents without the selected field**: Off by default.
- **Group remaining values as "Other"**: On by default.
- **Enable accuracy mode**: This option improves results for high-cardinality data, but increases the load on the {{es}} cluster.
- **Include values**: Values from the breakdown dimension to always show a tile for.
- **Exclude values**: Values from the breakdown dimension to always exclude from the displayed tiles.
:::
9 changes: 9 additions & 0 deletions explore-analyze/_snippets/lens-value-advanced-settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:::{dropdown} Advanced settings
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:

- **Normalize by unit**: Normalize the metric values to show per unit of time.
- **Filter by**: Specify a query.
- **Reduced time range**: Reduce the time range specified on the dashboard's time filter by the specified duration.
- **Time shift**: Shift the time range by the specified duration.
- **Hide zero values**: Don't show values equal to zero. This option is on by default.
:::
Binary file added explore-analyze/images/metric-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added explore-analyze/images/metric-max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added explore-analyze/images/metric-no-max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified explore-analyze/images/secondary_metric_after_compare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified explore-analyze/images/secondary_metric_before_compare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions explore-analyze/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ toc:
- file: visualize/visualize-library.md
- file: visualize/manage-panels.md
- file: visualize/lens.md
children:
- hidden: visualize/charts/metric-charts.md
- file: visualize/esorql.md
- file: visualize/custom-visualizations-with-vega.md
- file: visualize/text-panels.md
Expand Down
292 changes: 292 additions & 0 deletions explore-analyze/visualize/charts/metric-charts.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions explore-analyze/visualize/lens.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@ These options can vary depending on the type of chart.
```{applies_to}
stack: ga 9.2
```
When creating or editing a visualization, you can customize several appearance options. To do that, look for the {icon}`brush` icon.

**Primary metric**
: Define the formatting of the primary metric in terms of **Position**, **Alignment**, and **Font size**.

Expand Down
Loading