Add span Client.SendEach

This commit is contained in:
Владислав Весельский 2025-01-24 19:23:57 +03:00
parent f076c6e41d
commit f17a4bdc82
1 changed files with 4 additions and 0 deletions

4
fcm.go
View File

@ -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)
}