chore: use billing event's unique event_id pass in Internal Events as well
What does this merge request do and why?
Related to https://gitlab.com/gitlab-org/architecture/usage-billing/design-doc/-/issues/10
Use billing event's unique event_id which is generated in AI Gateway to pass in Internal Events as well
How to set up and validate locally
- Check out to this merge request's branch.
- Ensure Snowplow micro is setup and running to collect the events (doc).
- Enable billing event in
.env.AIGW_INTERNAL_EVENT__ENABLED=true - Send a query via Agentic Duo Chat or Flows in VSCode.
- Confirm the
usage_billing_eventevent is shown athttp://0.0.0.0:9090/micro/good.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Edited by Tan Le