Files
insights/products/logs/frontend/sparklineOtherBreakdown.ts
zeekay bc4ddf332b chore: rebase the tree onto upstream master fa1a9a60
Mechanically re-derived: bin/debrand runs over a fresh import of
posthog/posthog@fa1a9a60d4 (2026-08-06).
The pipeline (.hanzo/workflows), the Dockerfiles and bin/docker*
entrypoints, compose files, LLM.md and the squashed initial migration
are restored from the shipped tree, same as the previous import.

The prune's import-closure guard kept 21 products the new core now
imports; dropping them is a refactor now, recorded rather than forced.
2026-08-06 01:25:36 -07:00

15 lines
761 B
TypeScript

/**
* Sentinel the sparkline endpoint labels its collapsed tail with — the same value insights
* breakdowns use. Duplicated rather than imported from `scenes/insights/utils` to keep that
* module's graph out of the logs bundle, which is the convention that file already follows (it
* carries its own "sync this with breakdowns.py" note). A test pins it to the Python constant.
*/
export const OTHER_BREAKDOWN_VALUE = '$$_insights_breakdown_other_$$'
/**
* Legend label for the collapsed bucket. Insights spells this "Other (i.e. all remaining values)",
* which is too long for a sparkline legend, and deliberately dimension-neutral because the same
* sentinel can stand in for services or severities.
*/
export const OTHER_BREAKDOWN_LABEL = 'Other'