Skip to content
Snippets Groups Projects

insights: modify promql query to include pg data for codeinsights-db

Merged Administrator requested to merge insights/pg-stat-promql-query into main

Created by: leonore

closes #34187 (closed), which describes the issue in detail.

The issue is fixed by hacking the query a bit and adding an OR with a promql query that will get the pg metrics specifically for codeinsights-db.

Test plan

this shows it working on dogfood

Locally, the codeinsights-db is integrated with the main db so this might not work- though from my local testing the metrics don't work the same, as I can only see postgres_exporter connections. The change didn't break anything though.

before: image

after: image

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading