Skip to content

Conversation

azdagron
Copy link
Member

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.

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]>
@azdagron azdagron added this to the 1.5.0 milestone Oct 10, 2022
Copy link
Member

@amartinezfayo amartinezfayo left a 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]>
@azdagron
Copy link
Member Author

Whoops! Thanks for catching that, @amartinezfayo! Updated.

amartinezfayo
amartinezfayo previously approved these changes Oct 11, 2022
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

🎉

@@ -53,7 +53,7 @@ You may use all, some, or none of the collectors. The following collectors suppo
#### `In-Mem`
| Configuration | Type | Description | Default |
|---------------|--------|-----------------------|---------|
Copy link
Collaborator

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?

Copy link
Member Author

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]>
Copy link
Collaborator

@MarcosDY MarcosDY left a comment

Choose a reason for hiding this comment

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

LGTM!!!

@azdagron azdagron merged commit 2361a3a into spiffe:main Oct 12, 2022
@azdagron azdagron deleted the disable-in-mem-telemetry-by-default branch October 12, 2022 16:28
stevend-uber pushed a commit to stevend-uber/spire that referenced this pull request Oct 16, 2023
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]>
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.

3 participants