Datadog

Datadog Expertise

RapDev is a Datadog Premier Partner focused on accelerating our customers’ time to value.
600
Implementations
110
US-Based Engineers
68
Datadog Certifications

Security & Managed SOC

Quickly and seamlessly implement Cloud SIEM, ASM, SCA, and Cloud Security Posture Management to power a modern DevSecOps strategy

Incident Management

Transform data into high-confidence, actionable incidents using AI-driven detection, clear ownership models, and automated remediation

Marketplace Integrations

RapDev is proud to offer more Datadog Marketplace integrations than any other partner

ServiceNow

ServiceNow Expertise

RapDev is a ServiceNow Elite partner focused on helping you drive business outcomes with the ITx suite.
4.7
CSAT Score
136
Product Line Certs.
67k
AI Agents Discovered

Agentic AI & AI Governance

Deploy and scale production-ready agentic AI to automate workflows and accelerate ServiceNow outcomes

Enterprise Architecture

Connect your technology landscape to business strategy to optimize investments, reduce risk, and accelerate modernization

ServiceNow Store

Leverage RapDev’s certified apps and AI Agents to expedite operations on the Now Platform
Blog
Company

About RapDev

RapDev is powered by a team of experienced, U.S. based engineers focused on redefining service operations through AI, automation, and modern observability.

Join the RapDev team

Our no-frills approach to collaborating is what allows us to deliver the best. Our team is growing and we’re looking for the best in the game.

Press

Latest news and announcements from RapDev

Events & Webinars

From hands-on workshops to industry-leading conferences

Resources

Back to blog

Developing the Google Meet Integration

Start looking at Google Meet as a whole with powerful, out-of-the-box metrics

X

min read

January 25, 2024

Will Wen

The Google Meet integration’s target audience is workspace IT admins and DevEx members. If users set up the Google Meet authentication, then they are just one API call away from accessing other Google product APIs. The two APIs below are shared among Google products and target Meet through a query parameter. 

Looking into the two Google Meet APIs:

The first API, CustomerUsageReport, gives a metric summary of the previous days; for example: number of calls, lonely meetings, and average_meeting_minutes. If I ran this API today, I could only get a summary report for two days prior to today. The data is too old to put into Datadog retroactively as a metric, as well already aggregated, so this API was skipped.

The second API, Audit Activity, retrieves a list of events that happened within a date time filter. Some event types include leaving a call, creating an abuse report, starting/stopping a presentation, and starting/stopping a poll. From my testing, the API took about 15 minutes to show up in the API after I left a Google Meet call. Because the data is near real-time and granular enough on a participant/meeting level, this API makes sense to flow into Datadog. However, the format of the data is still event-based, so I had to pivot the response in order for the data to make sense in a Datadog metric.

Using an example: If I left the call at 13:19:15, and my integration is polling, at around 13:34:15 the Audit Activity API will say I left the call at 13:19:15. In that event payload, Google reports metrics like what my (audio/video) (received/sent) packet loss (max/mean), seconds where audio was sent, what device type I used, and where my location was (just to name a few). For each string-like value (device_type, location), I appended to a list of tags. For each numerical value like packet loss and seconds where audio was sent, I send Datadog a metric. The timestamp of the metric will be the time the Datadog aggregator sent the metric to Datadog HQ, so around 13:34:15.

The image above omitted many of the other metrics that are given for each call_ended event, but illustrate the pivoting nonetheless. In addition to the 3 metrics being sent (as shown in red), one event is also sent to denote this caller leaving a call. This event is what powers the demographic breakdowns seen in the dashboard screenshot later on.

With powerful metrics like network latency, audio and video packet loss, and network jitter, network admins of workspaces now have the data available to start looking at Google Meet as a whole. Is the whole product suffering from a degraded service or is it just a few participants suffering from latency? Is it the user sending fewer packets or the user receiving too few? In development operations, soft-rules like no-meeting Wednesdays were created to prevent too much context switching on developers. With the Google Meet Datadog dashboard, managers can see when meetings are most often scheduled, how long they last, and who is often in meetings.

 

Limitations of the Audit Activity API include its event based architecture, making metrics over time based visualizations difficult. Events of a call_ended plotted over time is available, but to see how a user’s network latency has changed over the duration of a meeting is not, as the API reports an aggregated median/mean/max at the time of the participant leaving the call.

Future work from this integration includes the whole suite of Google Products and their APIs. Some Ideas we have in the future are: 

  • Google Calendar - when are events created, who are the guests
  • Google Drive - files created, storage usage, comments created, ACL (sharing) changes
  • Google Groups - when are groups added, when is membership modified

Interested in trialing the integration? Check it out in the Datadog Marketplace!

This isn't the integration you're looking for? Missing a critical feature for your organization? Drop RapDev a note at support@rapdev.io and we'll build it!