Skip to content

QueryCountStatsMonitor doesn't track sql query metrics #11652

@a2l007

Description

@a2l007

QueryCountStatsMonitor provides the following query metrics

  • query/count
  • query/success/count
  • query/failed/count
  • query/interrupted/count
  • query/timeout/count

It looks like these metrics don't track the sql queries invoked against the druid/v2/sql endpoint.

This could be because the Broker is tied to BrokerQueryResource as the QueryCountStatsProvider implementation and even if SqlResource implements QueryCountStatsProvider, it wouldn't work. Unless the SqlResource was isolated as such for a specific reason, I'd like to check the feasibility of merging SqlResource into QueryResource so that druid/v2/sql can take advantage of the query count stats monitoring within QueryResource.

@jihoonson Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions