Skip to content

JDBC Telemetry on explain plan is filter on uppercase "SELECT" only #907

@cy33hc

Description

@cy33hc

Expected behavior

JDBC telemetry should filter on query with mixed case "SELECT" cmd

Actual behavior

Filtering only on uppercase "SELECT"

To Reproduce

enable jdbc telemetry in AI-Agent.xml. Then create a slow jdbc query with lowercase "select" to activate the explain plan.

Sample Application

See the code from application insights.

https://github.com/Microsoft/ApplicationInsights-Java/blob/master/core/src/main/java/com/microsoft/applicationinsights/internal/agent/CoreAgentNotificationsHandler.java

image

Metadata

Metadata

Assignees

No one assigned

    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