-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing traces in firebase functions using express, again #1625
Comments
I found a few problems with this issue:
|
Same issue |
I was having the issue, and adding LOG_EXECUTION_ID=false to my env file resolved it, although I'm not sure of the potential knock-on effects of that (based on this comment: #1439 (comment)) |
Well nothing really, since according to the documentation of LOG_EXECUTION_ID, it's supposed to default to false anyway. |
On month after this ticket was opened (for a paid service) and no one from Google has said a word |
I hope I might be able to help here, in my case v2 functions logging works, i.e. I can see levels, traces, labels and structured data. It's not showing automatically like in case of v1 functions but when filtering by Some details that perhaps will help you: import { logger } from "firebase-functions/v1";
import { onRequest, onCall } from "firebase-functions/v2/https";
export const functionName =
onCall(
{
minInstances: minInstancesConfig,
maxInstances: 200,
memory: "512MiB",
concurrency: 120,
timeoutSeconds: 120,
}, async (req) => {
const data = req.data;
try {
logger.info("Log content", { userId: data.userId, headers: req.rawRequest.headers });
... Versions:
|
Related issues
#1439
This issue is the orginal thread that was marked as solved, when it isn't.
But please check it out to feel the growing frustration of many Google Cloud customers
[REQUIRED] Version info
I am going to skip the template because it is not meaningful.
The Google Cloud logging traces are gone. They were there in v1 functions. We complained that they were not there in v2. They were added after months. Now they are gone again, for reasons only you know.
Everyone is complaining in a ticket that was closed and is getting no attention from Google.
Everytime I need to check a log I end up very frustrated. All I need is to see all the logs from a single execution of my v2 express function (which magically gets converted into a Google Cloud run instance).
I think you are failing at hiding complexity away, and you are causing a lot of frustration to your customers.
And the most anoying thing is that this goes on for YEARS now, and no one seems to care or answer.
All I need is that when I receive a request, I can see all logs of the same trace. WE USED TO HAVE THIS.
I have this instead, all logs are displayed with 0 tags, it is very hard to see what is going on in a single execution
Is this thing not bothering you at Google? Are you not using your own products?
Please DO SOMETHING
The text was updated successfully, but these errors were encountered: