-
Notifications
You must be signed in to change notification settings - Fork 216
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 APP_INSIGHTS_ID to image build #1266
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alex Castilio dos Santos <alexsantos@microsoft.com>
fd1f6a8
to
e175158
Compare
e175158
to
585155c
Compare
Signed-off-by: Alex Castilio dos Santos <alexsantos@microsoft.com>
585155c
to
b82c68c
Compare
@@ -35,5 +37,10 @@ func GetConfig(cfgFileName string) (*OperatorConfig, error) { | |||
return nil, fmt.Errorf("error unmarshalling config: %w", err) | |||
} | |||
|
|||
// If unset, default telemetry interval to 5 minutes. | |||
if cfg.TelemetryInterval == 0 { | |||
cfg.TelemetryInterval = 5 * time.Minute |
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.
let's keep to 15min, and since this is a configmap change we'll need to notify a few people
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.
time to add CODEOWNERS?
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.
I think it would be better if a zero value TelemetryInterval
means no telemetry/the previous behavior. That keeps any changed behavior intentionally opt-in, backcompat, and obvious
Description
deploy/standard/manifests/controller/helm/retina/values.yaml
Related Issue
If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.
Checklist
git commit -S -s ...
). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
Manual test was also done to validate that the configuration was propagated from helm chart
values.yaml
file to both operator and agent. Value set was printed to log:Additional Notes
Add any additional notes or context about the pull request here.
Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.