~/talk

How to monitor errors and performance in Cloud Functions with Open Telemetry

Talkat Firebase Summit 2022 · on Tuesday, 2022-10-18· [observability, serverless]
links:none on file
slides:none on file

Cloud Functions for Firebase runs with native GCP integrations like Cloud Logging and Cloud Trace and is instrumented with OpenTelemetry to emit structured logs, custom metrics, and traces. Traces reveal a tail latency caused by over 100 sequential Firestore queries; switching to array-contains-any (batching up to 10 IDs) plus concurrent Promise.all requests cuts a 6+ second 99th percentile to ~100 ms. Instrumentation and exporters to Google Cloud fixing the issue.

AI-written summary · about

  1. 0:00Start
  2. 7:55Cloud Logging: Powerful Queries
  3. 8:20Cloud Logging: Custom Metrics
  4. 9:57Traces and Spans
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.