Skip to content

Stats/status reporting shows Slack counters but no Discord equivalent #748

@Aaronontheweb

Description

@Aaronontheweb

Context

During Discord integration testing, netclaw stats and the /api/health/status endpoint report Slack telemetry counters (slackCounters) even when Slack is not active, and have no Discord equivalent.

Current status response includes:

"telemetry": {
    "slackCounters": {
        "eventsReceived": 344,
        "eventsDropped": 252,
        "eventsRouted": 344,
        "messagesEnqueued": 92,
        "repliesPosted": 136,
        "repliesRejected": 0,
        "repliesFailed": 0
    }
}

Expected Behavior

  • Only show counters for active channels
  • Add equivalent discordCounters when Discord is enabled
  • Ideally, make the counters channel-agnostic or keyed by channel type (e.g., channelCounters: { "slack": {...}, "discord": {...} })

Key Files

  • src/Netclaw.Daemon/Gateway/DaemonStatsService.cs
  • src/Netclaw.Daemon/Gateway/DaemonRuntimeStatusService.cs
  • src/Netclaw.Channels.Discord/ — needs telemetry counters wired up
  • src/Netclaw.Channels.Telemetry/ — shared telemetry infrastructure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions