Skip to content

Feed lookups have no metrics #5563

Description

@darkobas2

There are no metrics for feeds. pkg/feeds has no metrics.go, feedGetHandler in pkg/api/feed.go is uninstrumented, and the /feeds/{owner}/{topic} route is mounted without the metric middleware that /bzz and /bytes use.

Effect: on a production node there is no way to measure real feed lookup volume, failure rate or latency — feed traffic can't be told apart from ordinary chunk retrieval.

A feed lookup histogram would cover it, ideally with labels for lookup type (sequence/epoch) and result (found / not_found / error).

Synthetic beekeeper checks give some coverage today, but they only exercise test traffic and can't tell us anything about real users.

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