• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HelixObs / herald / 26261316771

22 May 2026 12:32AM UTC coverage: 85.285% (-1.2%) from 86.484%
26261316771

push

github

chitrangpatel
feat: genericize data monitor — replace CHIME plugin system with user-configurable fields

Remove CHIME-specific chimeDMPlot/chimeBeamPlot plugins and the entire
plugin registry. The monitor now bins any metadata field against time,
with an optional weight field controlling Inferno colormap brightness.

- monitor/plugin.go: drop Plugin interface, registry, Get/AllConfigs/MetadataFilter;
  rewrite Bin() to accept yField/weightField strings; rename SNR→Weight in wire types;
  add ValidateFieldName() for injection-safe key validation
- monitor/chime.go: deleted
- db/db.go: add QueryMetadataKeys — SELECT DISTINCT jsonb_object_keys(metadata)
  for an instrument in the last 24h (up to 200 keys)
- api/handler.go: add GET /api/v1/monitor/fields endpoint; replace plot= param
  with y_field= + weight_field= in monitorBins; update MonitorStore interface
- tests updated throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

75 of 110 new or added lines in 3 files covered. (68.18%)

3 existing lines in 1 file now uncovered.

2156 of 2528 relevant lines covered (85.28%)

1878.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.43
/internal/api/handler.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc