mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 08:03:50 +00:00
34 lines
855 B
Svelte
34 lines
855 B
Svelte
<script lang="ts">
|
|
import { Drawer, DrawerContent } from './common'
|
|
import QueueMetricsDrawerInner from './QueueMetricsDrawerInner.svelte'
|
|
import QueueAlerts from './QueueAlerts.svelte'
|
|
import WorkspaceFairnessEvents from './WorkspaceFairnessEvents.svelte'
|
|
import { enterpriseLicense } from '$lib/stores'
|
|
|
|
let drawer: Drawer | undefined = $state()
|
|
export function openDrawer() {
|
|
drawer?.openDrawer()
|
|
}
|
|
</script>
|
|
|
|
<Drawer bind:this={drawer} size="1000px">
|
|
<DrawerContent
|
|
title="Queues"
|
|
on:close={drawer.closeDrawer}
|
|
documentationLink="https://www.windmill.dev/docs/core_concepts/worker_groups#queue-metrics"
|
|
>
|
|
<QueueAlerts />
|
|
|
|
<div class="py-8"></div>
|
|
|
|
<QueueMetricsDrawerInner />
|
|
|
|
{#if $enterpriseLicense}
|
|
<div class="py-8"></div>
|
|
<WorkspaceFairnessEvents />
|
|
{/if}
|
|
|
|
<div class="py-8"></div>
|
|
</DrawerContent>
|
|
</Drawer>
|