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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

seenIssue has been reviewed as part of the weekly issue rotation.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions