Skip to content

Surfacing the last successful pong? #31

@thbar

Description

@thbar

In order to monitor the health of each connection from the application side, it would be great to store the last successful pong timestamp (in redis, for instance), which we could then build alerts on top of depending on our needs.

For some context, I was thinking about how the node-slack-sdk library implements a client-level ping/pong dance and memorizes that timestamp here.

After browsing through relax source code, though, I realize that you are probably relying on the lower-level gorilla websocket connection to handle that ping/pong directly at the websocket level, right?

Even if that's confirmed, it would be indeed great to be able to propagate that information to Rails etc (via Redis), for custom monitoring.

Just some thoughts :-) Keep up the good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions