Skip to content

Commit

Permalink
Add ⓘ (thanks @johann-crabnebula)
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasQ committed Nov 16, 2023
1 parent be1929b commit dfe6e8e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions web-client/src/views/dashboard/span-waterfall.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useMonitor } from "~/lib/connection/monitor";
import { Toolbar } from "~/components/toolbar";
import { For, createEffect, createSignal } from "solid-js";
import { For, Show, createEffect, createSignal } from "solid-js";
import { formatSpansForUi } from "~/lib/span/formatSpansForUi";
import { createStore } from "solid-js/store";
import { getColumnDirection } from "~/lib/span/getColumnDirection";
Expand Down Expand Up @@ -98,7 +98,14 @@ export default function SpanWaterfall() {
<Toolbar>
<div class="flex items-center gap-2">
<Tooltip.Root>
<Tooltip.Trigger>Scale Spans</Tooltip.Trigger>
<Tooltip.Trigger>
<span class="flex items-center gap-1">
Scale Spans
<Show when={granularity() > 1}>
<span></span>
</Show>
</span>
</Tooltip.Trigger>
<Tooltip.Content>
<div class="rounded p-2 bg-black shadow">
Concurrency may appear skewed when spans are scaled.
Expand Down

0 comments on commit dfe6e8e

Please sign in to comment.