Skip to content

Broker: add metrics about server-side filtering (PIP-105) #16596

Closed

Description

@eolivelli

Is your enhancement request related to a problem? Please describe.
I would like to see a metric about the outcomes of filters:

  • number of messages passes thru the filter
  • number of accepted messages
  • number of rejected messages
  • number of rescheduled messages

This must be per-subscription

Additional context
This is useful to estimate how many messages are filtered out by a subscription filter

Activity

  1. self-assigned this
    on Jul 14, 2022
  2. eolivelli commented on Jul 14, 2022

    @eolivelli
    ContributorAuthor

    This is already partial support here
    #14531
    but we are missing the 'rescheduled' messages

  3. eolivelli commented on Jul 15, 2022

    @eolivelli
    ContributorAuthor

    unfortunately #14531c covers only per-topic stats.
    I have some use-cases when I have multiple subscriptions on the same topic, so I need per-subscription stats, or better, Prometheus metrics

  4. tjiuming commented on Aug 1, 2022

    @tjiuming
    Contributor

    @eolivelli I'll handle the issue

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

Metadata

Metadata

Assignees

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