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

Switch to slog #497

Merged
merged 5 commits into from
Dec 3, 2024
Merged

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Dec 1, 2024

Signed-off-by: Ben Ye benye@amazon.com

Update Prometheus version to prometheus/prometheus#14906

Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24
Copy link
Contributor Author

yeya24 commented Dec 3, 2024

@harry671003 Can you help review this PR? This is a small change.
I checked the test case failure are all related to round function

)

func TestMain(m *testing.M) {
parser.EnableExperimentalFunctions = true
goleak.VerifyTestMain(m)
goleak.VerifyTestMain(m,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would updating the opencensus-go package to latest help?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked their master branch and the goroutine is still there https://github.com/census-instrumentation/opencensus-go/blob/master/stats/view/worker.go#L34.

Thanos main repo also ignores this function in the goleak test. But I am not sure why the problem only occur now. It should be always there

@harry671003
Copy link
Contributor

Approving. Thanks Ben.

@yeya24
Copy link
Contributor Author

yeya24 commented Dec 3, 2024

Merged the PR and I will rename the branch to update-prometheus-3.0

@yeya24 yeya24 merged commit 1b81cc9 into thanos-io:prometheus-update-65f610353919 Dec 3, 2024
5 of 7 checks passed
@yeya24 yeya24 deleted the use-slog branch December 3, 2024 21:31
yeya24 added a commit that referenced this pull request Dec 3, 2024
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