Skip to content

Add self-filtering marker to Lite collection queries #246

@erikdarlingdata

Description

@erikdarlingdata

Summary

Lite's own collection queries show up in Active Queries, Top Queries, Top Procedures, and Query Store results, polluting the data with monitoring overhead.

Approach

  1. Inject a recognizable dummy/marker string (e.g. a SQL comment like /* PerformanceMonitorLite */) into all collection queries that Lite executes
  2. Add filters to the following display queries to exclude rows matching that marker:
    • Active Queries
    • Top Queries
    • Top Procedures
    • Query Store queries

This keeps Lite's own footprint out of the results users are analyzing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions