Skip to content

Commit

Permalink
Warn when using deprecated process_config.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
elliterate committed Jan 10, 2025
1 parent 17111e2 commit be98efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/setup/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func overrideRunInCoreAgentConfig(config pkgconfigmodel.Config) {
// loadProcessTransforms loads transforms associated with process config settings.
func loadProcessTransforms(config pkgconfigmodel.Config) {
if config.IsSet("process_config.enabled") {
log.Info("process_config.enabled is deprecated, use process_config.container_collection.enabled " +
log.Warn("process_config.enabled is deprecated, use process_config.container_collection.enabled " +
"and process_config.process_collection.enabled instead, " +
"see https://docs.datadoghq.com/infrastructure/process#installation for more information")
procConfigEnabled := strings.ToLower(config.GetString("process_config.enabled"))
Expand Down

0 comments on commit be98efc

Please sign in to comment.