Skip to content

Conversation

@shahargl
Copy link
Member

@shahargl shahargl commented Aug 26, 2025

close #5264

Summary

Fixed issue where enrichment fields would not appear in the column selection settings if they weren't present in the first 50 rows of data.

Problem

When a feed/preset doesn't contain any enrichment fields in the first 50 rows, the 'Enrich fields' column option becomes disabled and unavailable for selection. This happens because the column selection only shows columns that exist in the current dataset.

Solution

  • Added a predefined list of common enrichment fields that are always available for selection
  • These fields are now searchable even when they don't exist in the current data
  • Maintains existing functionality while ensuring enrichment fields are always accessible

Common Enrichment Fields Added

  • ticket_id, ticket_url, ticket_type, ticket_status
  • environment, service, region, cluster, namespace
  • pod, container, host, instance, application
  • team, owner, runbook_url, dashboard_url
  • logs_url, metrics_url, impacted_customer_name
  • severity_override, priority, escalation_policy
  • on_call_engineer, alert_enrichment

Testing

  • Users can now search for "enrich" in the column settings and find enrichment fields
  • Column selection works regardless of whether enrichment data exists in current alerts
  • No duplicate columns when enrichment fields exist in both data and predefined list

Closes #5264

🤖 Generated with Claude Code

Fixed issue where enrichment fields would not appear in the column selection settings if they weren't present in the first 50 rows of data. Added a predefined list of common enrichment fields that are always available for selection, ensuring users can configure these columns even when they don't exist in the current data set.

Closes #5264

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Bug Something isn't working labels Aug 26, 2025
@vercel
Copy link

vercel bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
keep Ready Ready Preview Comment Aug 26, 2025 2:16pm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 26, 2025
@shahargl shahargl merged commit fcc7fab into main Aug 26, 2025
16 of 17 checks passed
@shahargl shahargl deleted the fix/enrichment-fields-column-visibility branch August 26, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: Enrich Column Disappear

2 participants