Skip to content

Feature Request: Hope to support custom parameters for MonitorCmd #3983

Description

@Heachy

Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.

Expected Behavior

It would be desirable to customize the monitor command instead of hard‑coding it as just MONITOR, since different cloud‑providers support different commands.

Current Behavior

func newMonitorCmd(ctx context.Context, ch chan string) *MonitorCmd { return &MonitorCmd{ baseCmd: baseCmd{ ctx: ctx, args: []interface{}{"monitor"}, }, ch: ch, status: monitorStatusIdle, mu: sync.Mutex{}, } }
It appears the command args are fixed to MONITOR, with no option to customize the monitor command.

Possible Solution

Expose setter for MonitorCmd args. My target command could be MONITOR followed by a node IP or ID, or an entirely different command. Direct configuration of the full command is required, instead of merely appending extra parameters.

Steps to Reproduce

Context (Environment)

Detailed Description

Possible Implementation

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions