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

chore: add source id to register events request #915

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

cre8ivejp
Copy link
Member

@cre8ivejp cre8ivejp commented Apr 11, 2024

Part of #916

I added the source ID to the register events to improve the logging and metrics.
The other APIs already have this field in the request.
The source ID is in the events (Evaluation, Goal, and Metrics), but we must unmarshal the event when we want to use it. So, it would be much faster to have it in the requests like the other APIs. This will be helpful when we improve the API usage metrics.

Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp cre8ivejp marked this pull request as ready for review April 11, 2024 09:33
@cre8ivejp cre8ivejp requested a review from kakcy April 15, 2024 02:12
@cre8ivejp cre8ivejp enabled auto-merge (squash) April 15, 2024 08:15
@cre8ivejp cre8ivejp disabled auto-merge April 15, 2024 08:15
@cre8ivejp cre8ivejp merged commit d09e2dd into main Apr 15, 2024
15 checks passed
@cre8ivejp cre8ivejp deleted the chore-add-source-i branch April 15, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant