forked from platformsh/platformsh-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document continuous profiling comparison mode (platformsh#4093)
* Document continuous profiling comparison mode * Update sites/upsun/src/increase-observability/application-metrics/cont-prof-comparison.md * Increase timeout for long template? --------- Co-authored-by: Chad Carlson <[email protected]> Co-authored-by: chadcarlson <[email protected]>
- Loading branch information
1 parent
cf59af0
commit e0b5df4
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
sites/upsun/src/increase-observability/application-metrics/cont-prof-comparison.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: Comparing Continuous Profiling Timeframes | ||
description: Comparing continuous profiling timeframes | ||
weight: 20 | ||
--- | ||
|
||
{{< partial "continuous-profiling-sellable/body.md" >}} | ||
|
||
{{< vendor/name >}} Continuous Profiler dashboard allows comparing two timeframes to better | ||
understand application dynamics in various contexts. | ||
|
||
You could compare two versions of the application, before and after a deployment, | ||
or rush hours with quiet times for instance. | ||
|
||
## Enabling comparison mode | ||
|
||
A toggle on the top right corner of the continuous profiling dashboard enables | ||
the comparison mode. | ||
|
||
![Routes](/images/observability/cont-prof-comparison-console.png "0.5") | ||
|
||
With comparisons enabled, you can select two timeframes referred to as ``A`` and | ||
``B``. Those times can overlap. | ||
|
||
## Understanding continuous profiling visual comparison | ||
|
||
The flamegraph provides a visual representation of how timeframe ``B`` compares | ||
to ``A`` for the selected dimension using shades of colors. The stronger the | ||
color, the higher resource variation. | ||
|
||
![Routes](/images/observability/cont-prof-comparison-flamegraph.png "0.5") | ||
|
||
Shades of green indicates timeframe ``B`` is consuming less resources than ``A`` | ||
for the selected dimension. Shades of red indicate the opposite. | ||
|
||
A scale and contextual information are displayed when hovering a span. This ensures | ||
accessibility for all users and allow colorblind users to benefit from this feature. | ||
|
||
![Routes](/images/observability/cont-prof-comparison-scale.png "0.5") |
Binary file added
BIN
+59.3 KB
sites/upsun/static/images/observability/cont-prof-comparison-console.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 added
BIN
+16.7 KB
sites/upsun/static/images/observability/cont-prof-comparison-flamegraph.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 added
BIN
+9.65 KB
sites/upsun/static/images/observability/cont-prof-comparison-scale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.