Skip to content

Commit

Permalink
Update opamp_agent.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Dec 2, 2024
1 parent 86078df commit aea7212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/extension/opampextension/opamp_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ func (o *opampAgent) applyRemoteConfig(config *protobufs.AgentRemoteConfig) (con
}

fb, err := k.Marshal(yaml.Parser())
o.logger.Info("Agent config yaml", zap.String("config", string(fb)))

if err != nil {
return false, fmt.Errorf("cannot marshal config named %s: %v", n, err)
Expand Down

0 comments on commit aea7212

Please sign in to comment.