1
0
mirror of synced 2026-01-25 10:01:49 -05:00
Files
airbyte/docs/integrations/sources/google-pagespeed-insights.md
Andreas Nigg b6c6b7affb 🎉 New source: Google PageSpeed Insights [low-code CDK] (#19813)
* New source: Google PageSpeed Insights

* update PR number

* Connector re-definition to use stream slices

So far, the connector used one single URL and
categories and strategies hardcoded in the
connector definition.
This commit changes the connector by removing
the second stream (origin) and uses ListStreamSlicers
for url, strategy and category to allow for better
configuration.

* fixed timeout for check int. tests

* use new pagespeed insights logo

* sample_config

* add strategy and category to stream

* use only one request for all defined categories

* fix lighthosue results schema

* remove required from schema

* remove audit and category details in schema

* add strategy field to schema

* auto-bump connector version

Co-authored-by: Sajarin <sajarindider@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-12-14 18:13:15 -05:00

3.3 KiB

Google PageSpeed Insights

This page guides you through the process of setting up the Google PageSpeed Insights source connector.

Sync overview

Prerequisites

Set up the Google PageSpeed Insights source connector

  1. Log into your Airbyte Cloud or Airbyte Open Source account.
  2. Click Sources and then click + New source.
  3. On the Set up the source page, select Google PageSpeed Insights from the Source type dropdown.
  4. Enter a name for your source.
  5. For API Key, enter your Google PageSpeed API Key.
  6. For URLs to analyse, enter one or many URLs you want to create PageSpeed Insights for. Example: https://www.google.com.
  7. For Analyses Strategies, enter either "desktop", "mobile" or both to define which Analyses strategy to use.
  8. For Lighthouse Categories, select one or many of the provided options. Categories are also called "audits" in some of the Google Lighthouse documentation.
  9. Click Set up source.

IMPORTANT: As of 2022-12-13, the PageSpeed Insights API - as well as this Airbyte Connector - allow to specify a URL with prefix "origin:" - like origin:https://www.google.com. This results in condensed, aggregated reports about the specified origin - see this FAQ. However: This option is not specified in any official documentation anymore, therefore it might be deprecated anytime soon!

Supported sync modes

The Google PageSpeed Insights source connector supports the following sync modes:

  • Full Refresh

Supported Streams

The Google PageSpeed Insights source connector supports the following stream:

  • pagespeed: Full pagespeed report of the selected URLs, lighthouse categories and analyses strategies.

Features

Feature Supported?(Yes/No) Notes
Full Refresh Sync Yes
Incremental Sync No

Performance considerations

When using the connector without an API key, Google utilizes an undocumented, but strict rate limit - which also depends on how many global requests are currently sent to the PageSpeed API. The connector will retry, using an exponential backoff interval.

If the connector is used with an API key, Google allows for 25.000 queries per day and 240 queries per minute. Therefore, under normal usage, the connector should not trigger any rate limits. Create an issue if you see any rate limit issues that are not automatically retried successfully.

Changelog

Version Date Pull Request Subject
0.1.0 2022-11-26 #19813 🎉 New Source: Google PageSpeed Insights [low-code CDK]