Skip to content

Track protocol stream open/close count in metricsΒ #3262

@wemeetagain

Description

@wemeetagain

Current metrics include libp2p_protocol_streams_total which is a guage of current open protocol streams (with a single label protocol=direction + " " + protocol)

It would be more useful to have separate counter metrics for stream open and stream close. This would allow us to compute total (open - close) as well as rates of open and close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions