ivfflat index implemented by pgvector (example code here).
To tag errors, we assign an error its most relevant tag from a predetermined configurable set. For example, if we tag an error as an “authentication error” or a “database error”, we can allow developers to have a starting point before inspecting an issue.(read about the logic here).
Anecdotally, this approach seems to work very well. For example, here are two authentication errors that got tagged as “Authentication Error”:
- Firebase: A network AuthError has occurred
- Error retrieving user from firebase api for email verification: cannot find user from uid.
github.com/highlight-run/highlight/backend/worker.(*Worker).ReportStripeUsagegithub.com/highlight-run/highlight/backend/private-graph/graph.(*Resolver).GetSlackChannelsFromSlack.func1
integration api error as they involve the Stripe and Slack integrations respectively. The neat thing is that the LLM can use the full context of an error and match based on the most relevant details about the error.
We have rolled out a first version of the error grouping logic to our cloud product, and there’s a demo of all the functionality. Long-term, if the HN community has other ideas of what we could build with LLM tooling in observability, we’re all ears. Let us know what you think!