Skip to content

Unit 3b follow-up: surface roll health where an operator can see it #175

Description

@mairas

Every roll outcome goes to process.stdout, which the plugin routes to app.debug — off unless someone enabled debug for this plugin. status() reports recorder and socket counters only, so it keeps printing "Recording" while every roll fails and the hot store grows until the disk is full.

signalk-parquet-history-provider#13 routes roll failures to stderr, which reaches app.error. What it does not do is put roll health in the status line, because there is no writer→plugin channel for it — the protocol carries samples and acknowledgements, nothing about the store's state.

Wanted: the hot store's row count and the age of the last successful roll in the plugin status, and a plugin error after N consecutive failures. That means a status message on the writer protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions