Skip to content

Filecoin.NetBandwidthStats return real metrics #7504

Description

@LesnyRumcajs

Summary

Right now we only have a stub for Filecoin.NetBandwidthStats that returns all zeroes. The stub needs to be there, though, otherwise some widget fail completely (even if they don't use the data...).

There are no ready interfaces for this through libp2p AFAIK so this might need a bigger change. Maybe there's already something in rust-libp2p, though, not sure. I recall one can enable all p2p metrics somehow, but that might be an overkill. To be measured.

Completion Criteria

  • add real metrics to NetBandwidthStats - measure they really reflect reality.

Additional Links & Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: TaskDiscrete task to implement

    Type

    No type

    Projects

    Status
    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions