Skip to content

Instantly share code, notes, and snippets.

@iTrauco
Created December 22, 2024 16:27
Show Gist options
  • Save iTrauco/ee4f0087fbfaf64a4bf6a0e5f6b886b7 to your computer and use it in GitHub Desktop.
Save iTrauco/ee4f0087fbfaf64a4bf6a0e5f6b886b7 to your computer and use it in GitHub Desktop.
# Today only (since midnight UTC)
resource.type="cloud_function"
resource.labels.function_name="your_function_name"
timestamp >= timestamp_trunc(current_timestamp(), DAY, "UTC")
(
textPayload=~"ERROR"
OR textPayload:~"Checking if blob exists"
OR textPayload:~"Attempting to download blob"
OR textPayload:~"Starting workbook preprocessing"
OR textPayload:~"SOURCE_PROCESSING_ERROR"
OR textPayload:~"Failed to create CSV"
)
| order by timestamp desc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment