Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

feat(metrics): Add remote IP label to containerssh_ssh_current_connections #284

@gaocegege

Description

@gaocegege

Please describe what you would like to see in ContainerSSH

The remote server IP in ssh-proxy backend may change with the config webhook. We cannot get the current connections for a specific server. Thus I propose to add a new label server-ip to the metric containerssh_ssh_current_connections

Please describe your use case

I will create multiple ssh backends. And use them in ssh-proxy mode. The server IP is updated by the config server webhook. And I wanna know how many connections are alive in the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions