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

[Wf-Diagnostics] fix the usage logs data emitted by wf diagnostics #6621

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

sankari165
Copy link
Member

What changed?
diagnostic start and end time are sent in millisecoonds

Why?
The message schema expects it in milliseconds

How did you test it?

Potential risks

Release notes

Documentation Changes

@sankari165 sankari165 changed the title [wf-Diagnostics] fix the usage logs data emitted by wf diagnostics [Wf-Diagnostics] fix the usage logs data emitted by wf diagnostics Jan 15, 2025
@sankari165 sankari165 enabled auto-merge (squash) January 15, 2025 12:20
@jakobht
Copy link
Member

jakobht commented Jan 15, 2025

Maybe we should use an ISO8601 string for the date, I see it's JSON serialized? Not sure what it's used for though?

@sankari165 sankari165 merged commit 7f5bb88 into cadence-workflow:master Jan 15, 2025
22 checks passed
@sankari165
Copy link
Member Author

I did consider the string option too. The context is that these are data emitted into kafka and then into pinot (not related to visibility) every time diagnostics is run. The purpose is to be able to query the usage of the diagnostics over time. Thats why having them in utc will help with querying and I chose it over the date string

@sankari165 sankari165 deleted the CDNC-12001-fix branch January 15, 2025 12:40
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.

2 participants