mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 22:29:11 +03:00
Merge branch 'master' into chore/function-page-design
This commit is contained in:
commit
0a733ecf4e
3766 files changed
+133177
-74148
No files matched your search
+28
-25
@@ -64,31 +64,34 @@ export const EdgeFunctionPerformanceSection = ({
|
||||
</PageSectionSummary>
|
||||
</PageSectionMeta>
|
||||
<PageSectionContent>
|
||||
<EdgeFunctionTimeSeriesChartCard
|
||||
data={data}
|
||||
dateTimeFormat={dateTimeFormat}
|
||||
isLoading={isLoading}
|
||||
isError={isError}
|
||||
emptyTitle={emptyStateCopy.title}
|
||||
emptyDescription={emptyStateCopy.description}
|
||||
metrics={metrics}
|
||||
dataKey="max_execution_time"
|
||||
dataKeys={['avg_execution_time', 'max_execution_time']}
|
||||
config={EXECUTION_TIME_CHART_CONFIG}
|
||||
tooltipDetails={tooltipDetails}
|
||||
referenceLines={[
|
||||
{
|
||||
y: averageExecutionTime,
|
||||
label: 'average',
|
||||
stroke: 'hsl(var(--foreground-default))',
|
||||
strokeWidth: 1.5,
|
||||
},
|
||||
]}
|
||||
yAxisProps={{
|
||||
width: 64,
|
||||
tickFormatter: (value: number) => `${Math.round(value)}ms`,
|
||||
}}
|
||||
/>
|
||||
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
||||
<EdgeFunctionTimeSeriesChartCard
|
||||
className="lg:col-span-2"
|
||||
data={data}
|
||||
dateTimeFormat={dateTimeFormat}
|
||||
isLoading={isLoading}
|
||||
isError={isError}
|
||||
emptyTitle={emptyStateCopy.title}
|
||||
emptyDescription={emptyStateCopy.description}
|
||||
metrics={metrics}
|
||||
dataKey="max_execution_time"
|
||||
dataKeys={['avg_execution_time', 'max_execution_time']}
|
||||
config={EXECUTION_TIME_CHART_CONFIG}
|
||||
tooltipDetails={tooltipDetails}
|
||||
referenceLines={[
|
||||
{
|
||||
y: averageExecutionTime,
|
||||
label: 'average',
|
||||
stroke: 'var(--foreground-default)',
|
||||
strokeWidth: 1.5,
|
||||
},
|
||||
]}
|
||||
yAxisProps={{
|
||||
width: 64,
|
||||
tickFormatter: (value: number) => `${Math.round(value)}ms`,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</PageSectionContent>
|
||||
</PageSection>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user