Add span Client.SendEach
This commit is contained in:
parent
f076c6e41d
commit
f17a4bdc82
4
fcm.go
4
fcm.go
|
@ -326,6 +326,10 @@ func makeSendResponseFromPart(part *multipart.Part) (SendResponse, error) {
|
|||
}
|
||||
|
||||
func (c *Client) SendEach(ctx context.Context, messages []Message) (MessageMultiSendResponse, error) {
|
||||
|
||||
_, span := tracer.Start(ctx, "Client.SendEach")
|
||||
defer span.End()
|
||||
|
||||
return c.doSendEachInBatch(messages, false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue