-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.Issues related to the googleapis/cloud-trace-nodejs API.external fixin progresstype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
When using @google-cloud/trace-agent
in Firebase Cloud Functions, the custom tracing works, but auto tracing doesn't (no trace for HTTP/HTTPS/gRPC requests).
Even included as the first module, the cloud functions log output:
ERROR:@google-cloud/trace-agent: TraceAgent#start: Tracing might not work as the following modules were loaded before the trace agent was initialized: [accepts, body-parser, bytes, content-disposition, content-type, cookie, cookie-signature, crc, debug, depd, destroy, ee-first, escape-html, etag, express, finalhandler, forwarded, fresh, iconv-lite, ipaddr.js, media-typer, merge-descriptors, methods, mime, mime-db, mime-types, ms, negotiator, on-finished, parseurl, path-to-regexp, proxy-addr, qs, range-parser, raw-body, send, serve-static, type-is, utils-merge, vary]
It may related to how Firebase Cloud Functions works as an overlay of Google Cloud Functions.
mgenti, debuggingfuture, jorilallo, andremacdowell, sk- and 1 more
Metadata
Metadata
Assignees
Labels
api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.Issues related to the googleapis/cloud-trace-nodejs API.external fixin progresstype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.