Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get contextual insights from the Observability AI Assistant when message is not available #205605

Open
gbamparop opened this issue Jan 6, 2025 · 1 comment
Labels
Team:obs-ux-logs Observability Logs User Experience Team

Comments

@gbamparop
Copy link
Contributor

📓 Summary

Currently, the Observability AI Assistant's contextual insights in the log details flyout rely on the presence of the message field in the log documents. However, since this field is not guaranteed to be present in all cases, fallback fields like error.message and event.original are already used in other areas, such as the summary column and the overview tab in the log details flyout.

To ensure consistent behaviour and provide AI insights in more use cases the logic for rendering prompts should be updated to use the existing fallback mechanism.

✔️ Acceptance Criteria

  • The contextual insights of the Observability AI Assistant in the log details flyout will be available when message, error.message or event.original are available.

💡Implementation hints

  • The prompts for contextual insights for explaining log messages and finding similar log messages are not displayed when the message field is not present
  • The fallbacks for the message field that are used in the summary column as well as the overview tab in the log details flyout are defined here

❓ Open questions

  • Should the contextual insights be always available, even if the fallback fields for the message are not present?
@gbamparop gbamparop added the Team:obs-ux-logs Observability Logs User Experience Team label Jan 6, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

2 participants