You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy the function by running ./functionbeat deploy storage
Verify that the function is sucessfully deployed to GCP.
Generate an event on the storage bucket by uploading a file.
Check the Cloud Function log. The log contains entries like:
2020-02-12 07:41:21.554 PST
storage
984673706582765
Function execution took 6 ms, finished with status: 'timeout'
Expand all | Collapse all{
insertId: "000000-b70aa0b0-0358-47b7-b4f3-32aba84db602"
labels: {
execution_id: "984673706582765"
}
logName: "projects/dede-268001/logs/cloudfunctions.googleapis.com%2Fcloud-functions"
receiveTimestamp: "2020-02-12T15:41:22.205417965Z"
resource: {
labels: {…}
type: "cloud_function"
}
severity: "DEBUG"
textPayload: "Function execution took 6 ms, finished with status: 'timeout'"
timestamp: "2020-02-12T15:41:21.554034871Z"
trace: "projects/dede-268001/traces/d9973adc68b86cbbb905c0bdf8b053e0"
}
Set the timeout in functionbeat.yml: timeout: 120s.
Update the function by running ./functionbeat update storage
Functionbeat returns the message:
Function: storage, could not update, error: error while updating function: googleapi: Error 400:
Invalid value at 'function.timeout' (type.googleapis.com/google.protobuf.Duration), Field 'timeout',
Invalid duration format, failed to parse seconds, invalid
fail to update 1 function(s)
The text was updated successfully, but these errors were encountered:
For confirmed bugs, please report:
The output config looks like this (simply points for ESS running on cloud)
Deploy the function by running
./functionbeat deploy storage
Verify that the function is sucessfully deployed to GCP.
Generate an event on the storage bucket by uploading a file.
Check the Cloud Function log. The log contains entries like:
Set the timeout in functionbeat.yml:
timeout: 120s
.Update the function by running
./functionbeat update storage
Functionbeat returns the message:
The text was updated successfully, but these errors were encountered: