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

feat: Add duration_ms to table sync finished log message #1757

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

erezrokah
Copy link
Member

Summary

Part of https://github.com/cloudquery/cloudquery-issues/issues/1778 (internal issue). Adds the duration in milliseconds to the table finished log message.
Tested this with open telemetry data that we send and the values match


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

scheduler/metrics.go Outdated Show resolved Hide resolved
@erezrokah erezrokah requested review from a team and candiduslynx and removed request for hermanschaaf, yevgenypats and a team June 21, 2024 08:33
@kodiakhq kodiakhq bot requested a review from a team as a code owner June 21, 2024 08:51
@kodiakhq kodiakhq bot requested a review from bbernays June 21, 2024 08:51
@kodiakhq kodiakhq bot merged commit 9ea034d into cloudquery:main Jun 21, 2024
7 checks passed
kodiakhq bot pushed a commit that referenced this pull request Jun 21, 2024
🤖 I have created a release *beep* *boop*
---


## [4.47.0](v4.46.1...v4.47.0) (2024-06-21)


### Features

* Add `duration_ms` to `table sync finished` log message ([#1757](#1757)) ([9ea034d](9ea034d))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit that referenced this pull request Jun 21, 2024
#### Summary

Follow up to #1757, as it seems we're accessing table metrics in other Go routines (e.g. `resolveResource`)

---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants