Skip to content

Commit

Permalink
Document continuous profiling comparison mode (platformsh#4093)
Browse files Browse the repository at this point in the history
* 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
3 people authored Oct 7, 2024
1 parent cf59af0 commit e0b5df4
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sites/platform/config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ description: Platform.sh User Documentation
theme: psh-docs
themesdir: '../../themes'

timeout: 60s

uglyurls: true
pygmentsUseClasses: true

Expand Down
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")
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.

0 comments on commit e0b5df4

Please sign in to comment.