getFormattedLagValue() — supabase Function Reference
Architecture documentation for the getFormattedLagValue() function in ReplicationPipelineStatus.utils.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 7e53bba0_159c_a8c5_bd18_a1d72665e775["getFormattedLagValue()"] 5679add8_328e_5cea_72d4_05eb5b0307af["SlotLagMetricsInline()"] 5679add8_328e_5cea_72d4_05eb5b0307af -->|calls| 7e53bba0_159c_a8c5_bd18_a1d72665e775 add6eab0_7af6_a285_5b10_9ed24b8d0e5c["SlotLagMetricsList()"] add6eab0_7af6_a285_5b10_9ed24b8d0e5c -->|calls| 7e53bba0_159c_a8c5_bd18_a1d72665e775 8a73eadd_ef26_2aa3_e598_e1f5cf7ea455["formatLagBytesValue()"] 7e53bba0_159c_a8c5_bd18_a1d72665e775 -->|calls| 8a73eadd_ef26_2aa3_e598_e1f5cf7ea455 6e775e06_d6b8_ba34_2d01_060326676b44["formatLagDurationValue()"] 7e53bba0_159c_a8c5_bd18_a1d72665e775 -->|calls| 6e775e06_d6b8_ba34_2d01_060326676b44 style 7e53bba0_159c_a8c5_bd18_a1d72665e775 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.utils.tsx lines 188–189
export const getFormattedLagValue = (type: 'bytes' | 'duration', value?: number) =>
type === 'bytes' ? formatLagBytesValue(value) : formatLagDurationValue(value)
Domain
Subdomains
Source
Frequently Asked Questions
What does getFormattedLagValue() do?
getFormattedLagValue() is a function in the supabase codebase.
What does getFormattedLagValue() call?
getFormattedLagValue() calls 2 function(s): formatLagBytesValue, formatLagDurationValue.
What calls getFormattedLagValue()?
getFormattedLagValue() is called by 2 function(s): SlotLagMetricsInline, SlotLagMetricsList.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free