firestore: add tracing to GetAll method #4203
Labels
api: firestore
Issues related to the Firestore API.
next major: breaking change
this is a change that we should wait to bundle into the next major version
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
func (it *DocumentIterator) GetAll() ([]*DocumentSnapshot, error) {
doesn't have tracing but it could be useful for understanding time to retrieve all documents in tracing.Currently there isn't a straightforward way to get the ctx which would be needed for tracing as the iterator is behind an interface without ctx.
This work would require exposing the ctx either via the interface. Or perhaps context.Background could be used?
The text was updated successfully, but these errors were encountered: