Skip to content

Bug: statistics listeners log a WARN for every event when usage statistics are disabled #3031

Done

Description

@josecelano-bot

Part of EPIC #2387. SI-1, order 1 (decision D8). Bug, priority p1.

Goal

A tracker whose UDP or HTTP tracker sections have tracker_usage_statistics = false (the default of that per-tracker key) logs nothing for each event it does not count. An event from a listener the statistics policy does not know is an ERROR with service_role and instance_index fields. The operator sees once, at startup, how many service instances have statistics enabled and disabled.

Scope

  • In the three statistics listeners (udp-server, udp-core, http-core), split the policy lookup into enabled (count), disabled (no log above TRACE) and unknown (ERROR).
  • Add enabled_instances and disabled_instances to the start line of the three listeners.
  • A regression test with the real binary (UDP and HTTP, statistics disabled, no WARN and no ERROR) and unit tests per listener.

Specification

docs/issues/open/3031-2387-si-1-statistics-disabled-warning-per-event/ISSUE.md (added by the spec-only PR of this issue).

Activity

  1. added a commit that references this issue on Nov 24, 2026
  2. added 2 commits that reference this issue on Nov 24, 2026
  3. added 11 commits that reference this issue on Nov 24, 2026
  4. added 3 commits that reference this issue on Nov 25, 2026
  5. added a commit that references this issue on Nov 25, 2026
  6. added 4 commits that reference this issue on Nov 25, 2026
  7. added 2 commits that reference this issue on Nov 25, 2026
  8. added a commit that references this issue on Nov 27, 2026
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