Repository navigation
Fixes: Add Metric entity type to Data Insights description coverage chart - #26260
Conversation
Co-authored-by: aniketkatkar97 <[email protected]>
🟡 Playwright Results — all passed (27 flaky)✅ 3311 passed · ❌ 0 failed · 🟡 27 flaky · ⏭️ 183 skipped
🟡 27 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ Approved 4 resolved / 4 findingsAdds Metric entity type to Data Insights description coverage chart, addressing missing trailing newline in config.json, duplicated test patterns, metric config schema mismatch, and test cleanup for metric entities. ✅ 4 resolved✅ Quality: Missing trailing newline in config.json
✅ Quality: Duplicated response-wait-then-navigate pattern across tests
✅ Bug: Metric config uses 'expression' but schema defines 'metricExpression'
✅ Bug: Test-created metric entities are never cleaned up
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
|
Changes have been cherry-picked to the 1.12.2 branch. |



metricwas absent from the Data Insights "Percentage of Data Asset with Description" chart because the entity type was never enrolled in the data insights processing pipeline — despite the backend chart query already excluding onlytagandglossaryTerm.Changes
DataInsightsApp.java— Added"metric"todataAssetTypes. This set drives which entity types get indexed into the data insights data streams that power all data asset charts.dataInsights/config.json— Added"metric"field mapping entry so the data stream index captures metric-specific fields (metricType,unitOfMeasurement,granularity,relatedMetrics,expression) alongside the common fields. Note:metrichas noservice/serviceTypefields (it is a standalone entity), so those are intentionally omitted.Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.