Skip to content

Query Context should be included as a dimension in Query metrics by default #10577

@capistrant

Description

@capistrant

Description

Druid Metrics for queries should include the context dimension by default. It is added for many of them, but one notable omission is query/cpu/time. I think this metric is very useful to gain information about each metric. At my org we extract context information and add them as native dims to a metrics datasource in druid and it is very useful.

Motivation

Please provide the following for the desired feature or change:

  • It is super useful to be able to correlate query metrics with the context. Being able to know if caching is explicitly configured, or vectorization. or in the case of some people, if custom query context information is included too. It just makes sense to me to have this dimension by default for query metrics.

Metadata

Metadata

Assignees

No one assigned

    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