We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18191d7 commit 7330f87Copy full SHA for 7330f87
apmproxy/apmserver.go
@@ -61,11 +61,11 @@ func (c *Client) ForwardApmData(ctx context.Context) error {
61
c.logger.Debug("Invocation context cancelled, not processing any more agent data")
62
return nil
63
case data := <-c.AgentDataChannel:
64
+ if len(data.Data) == 0 {
65
+ c.logger.Debugf("Received something from '%s' without APMData", data.AgentInfo)
66
+ continue
67
+ }
68
if err := c.forwardAgentData(ctx, data); err != nil {
- if errors.Is(err, accumulator.ErrNoData) {
- c.logger.Debugf("Received something from '%s' without APMData", data.AgentInfo)
- continue
- }
69
return err
70
}
71
once.Do(func() {
0 commit comments