-
Notifications
You must be signed in to change notification settings - Fork 525
Disable in-mem telemetry collection by default #3492
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
Disable in-mem telemetry collection by default #3492
Conversation
PR spiffe#1248 provided a mechanism to disable the in-memory telemetry collector, which until that point had been always on. The new configuration block and `enabled` configurable were introduced in a backwards compatible way, with a warning that the in-memory telemetry collector would default to disabled in a future release. This commit changes the behavior to disable the in-memory telemetry collector by default. In addition, it adds a warning log level that the "enabled" flag is now deprecated and will be removed in a future release. We can remove this flag in SPIRE 1.6.0. Signed-off-by: Andrew Harding <[email protected]>
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.
Thank you @azdagron, looks great!
I think the only missing piece is to update server_full.conf
, looks great otherwise.
Signed-off-by: Andrew Harding <[email protected]>
Whoops! Thanks for catching that, @amartinezfayo! Updated. |
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.
🎉
doc/telemetry_config.md
Outdated
@@ -53,7 +53,7 @@ You may use all, some, or none of the collectors. The following collectors suppo | |||
#### `In-Mem` | |||
| Configuration | Type | Description | Default | | |||
|---------------|--------|-----------------------|---------| |
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.
may we keep following the table format that was introduced recently?
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 yep. Thanks for pointing that out. Fixed.
Signed-off-by: Andrew Harding <[email protected]>
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.
LGTM!!!
PR spiffe#1248 provided a mechanism to disable the in-memory telemetry collector, which until that point had been always on. The new configuration block and `enabled` configurable were introduced in a backwards compatible way, with a warning that the in-memory telemetry collector would default to disabled in a future release. This commit changes the behavior to disable the in-memory telemetry collector by default. In addition, it adds a warning log level that the "enabled" flag is now deprecated and will be removed in a future release. We can remove this flag in SPIRE 1.6.0. Signed-off-by: Andrew Harding <[email protected]>
PR #1248 provided a mechanism to disable the in-memory telemetry collector, which until that point had been always on. The new configuration block and
enabled
configurable were introduced in a backwards compatible way, with a warning that the in-memory telemetry collector would default to disabled in a future release.This commit changes the behavior to disable the in-memory telemetry collector by default. In addition, it adds a warning log level that the "enabled" flag is now deprecated and will be removed in a future release. We can remove this flag in SPIRE 1.6.0.