npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-otel-trace-waterfall

v0.9.4

Published

A React component to render OpenTelemetry traces as a waterfall/Gantt view

Downloads

2,422

Readme

React OTel Trace Waterfall

A component to render OTel spans in a trace.

Customizable: Highly configurable. See props below.

Virtualized support: Supports (very) complex spans.

Themeable: Adjust most of what you can see.

Live mode: Supports following behavior.

Inspectable spans: (Customizable) inspect panel.

Keyboard support: Supports keyboard controls.

Dependencies

Built on:

  • d3-scale
  • Tanstack Virtualized

Props

| Prop | Type | Default | Notes | | ------------------------- | -------------------------------------- | --------------- | ------------------------------------------------------------------------- | | allowZoom | boolean | true | Disables wheel + drag when false | | clampZoomToBounds | boolean | false | Prevents zooming or panning outside the trace bounds | | disableInspectPanel | boolean | false | Hides the built-in detail panel; onSelectSpan still fires on click | | disableKeyboardControls | boolean | false | | | EventMarkerComponent | ComponentType<EventComponentProps> | diamond marker | Custom marker for EVENT spans (standalone rows and folded inline markers); receives { span, x, isSelected } | | foldEventsIntoParent | boolean | false | Renders EVENT-kind children as inline markers on the parent row; folded spans are available on FlatRow.events | | ExpandComponent | ComponentType<ExpandComponentProps> | ▸/▾ button | Ignored when SpanComponent is set | | FitButtonComponent | ComponentType<FitButtonProps> | built-in button | Custom fit-to-width button; receives { onClick } | | height | number \| string | '400px' | | | initialState | 'collapsed' \| 'expanded' | 'collapsed' | Seeds initial expandedIds | | liveMode | boolean | internal | When provided, controls following mode; omit to let component manage it | | liveUpdateDuration | number | 300 | Animation duration in ms when live mode receives new bounds; 0 to snap | | liveUpdateEasing | (t: number) => number | easeOutCubic | Easing for the live update animation; see exported easeOutCubic | | loading | boolean | false | | | onCloseSpan | () => void | — | Called when detail panel closes | | onLiveModeChange | (isLive: boolean) => void | — | Fires when the user zooms (→ false) or resets (→ true) | | onSelectSpan | (span: SpanNode \| null) => void | — | Called on selection change, null on deselect | | onSpanHover | (span: SpanNode \| null) => void | — | Called on row pointer-enter; null on pointer-leave | | onZoomReset | () => void | — | Called alongside zoom reset | | RowPrefixComponent | ComponentType<RowPrefixProps> | — | Rendered before every row label; receives { row, isSelected, isNew } | | SkeletonComponent | ComponentType | built-in | No props | | SpanComponent | ComponentType<SpanComponentProps> | SpanRow | Full row replacement; wrapped for a11y. Call useTheme() inside it to read the active theme | | SpanInspectComponent | ComponentType<SpanInspectProps> | SpanDetail | Receives { span, onClose } | | spans | OtelSpan[] | required | | | theme | Partial<ThemeTokens> | defaultTheme | | | timelinePadding | number | 0 | Pixels of padding on each side of the fitted view; keeps edge spans clear | | TooltipComponent | ComponentType<SpanTooltipProps> | — | Rendered near the cursor while hovering; receives { span } | | zoomLevel | number | 1 | Initial zoom factor from trace centre; > 1 starts locked (not following) | | ZoomResetComponent | ComponentType<ZoomResetProps> | built-in button | Deprecated — use FitButtonComponent instead |