Skip to content

Commit

Permalink
Update opamp_agent.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 committed Sep 20, 2024
1 parent 6bc6400 commit 4f327e4
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 @@ -511,6 +511,7 @@ extensions:
return false, fmt.Errorf("cannot parse config named %s: %v", n, err)
}
k.Set("receivers.nop", map[string]interface{}{})
k.Set("exporters.nop", map[string]interface{}{})
fb, err := k.Marshal(yaml.Parser())
o.logger.Info("Agent config yaml", zap.String("config", string(fb)))

Expand Down

0 comments on commit 4f327e4

Please sign in to comment.