-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Manual Backport of [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider into release/1.15.x #18627
Manual Backport of [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider into release/1.15.x #18627
Conversation
…nfigProvider (#18318) * Add Enabler interface to turn sink on/off * Use h for hcpProviderImpl vars, fix PR feeback and fix errors * Keep nil check in exporter and fix tests * Clarify comment and fix function name * Use disable instead of enable * Fix errors nit in otlp_transform * Add test for refreshInterval of updateConfig * Add disabled field in MetricsConfig struct * Fix PR feedback: improve comment and remove double colons * Fix deps test which requires a maybe * Update hcp-sdk-go to v0.61.0 * use disabled flag in telemetry_config.go * Handle 4XX errors in telemetry_provider * Fix deps test * Check 4XX instead * Run make go-mod-tidy
b026dd8
to
0ab3ba9
Compare
Oh I think its supposed to get skipped but this is broken 🤔 This is from a different PR that got back ported recently, and has the same failure : #18599 |
test-integ/go.mod
Outdated
@@ -0,0 +1,246 @@ | |||
module github.com/hashicorp/consul/test-integ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this test-integ module for ? Also don't love a hypen in a package name https://go.dev/blog/package-names
Finally this is under consul which means it's a integration test for all of consul which I don't think you were intending to make? Let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks - I need to remove this. I just cherry-picked the original commit. It's because main
has these files (https://github.com/hashicorp/consul/tree/main/test-integ) so they got updated, but not this release branch.
I will remove these, good catch 💯
39d746c
to
8c1e907
Compare
Backport #18318 into
release/1.15.x
The original backport PR had failed so I cherry picked the commit from main
0f48b7af5ec5fdf2237ba9e79a63160a071f6a91
here.#18619
Description
Testing & Reproduction steps
Links
PR Checklist