Skip to content

Option to set prune_after on a per output base #233

@maurerle

Description

@maurerle

Proposal

We would not like to prune the whole state.json but only old nodes from the output (e.g. meshviewer.json) - currently, I can only set prune_after on the state.json settings, but not per output.

It would be handy to have it per output, so that one can still see, that a node was seen before 30 days, even if it was offline for more than 14 days in between.

Alternatives

An alternative approach would be to increase prune_after to 90d in the yanic.conf and add the option to only show younger nodes than 7d on the map in meshviewer.json.
Currently, meshviewer shows all nodes and does only limit maxAge for the new Node and old Nodes view.
This could be adjusted, so that meshviewer does not show nodes which are longer offline than maxAge

Metadata

Metadata

Assignees

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