Skip to main content

No project description provided

Project description

spectacles

CircleCI codecov

spectacles helps verify that your Looker instance functions as expected. spectacles is a diagnostic tool that checks all explore dimensions for database errors and validates Looks and Dashboards.

Add spectacles to your CI pipeline to check for unexpected side effects from database or LookML changes.

Why we built this

Occasionally, when we make changes to LookML or underlying database transformations, we break downstream experiences in Looker. For example:

  • We change the name of a database column without changing the corresponding sql field in our Looker view, leaving our users with a database error when using that field.
  • We make changes to LookML without remembering to check the Content Validator for errors, disrupting Dashboards and Looks that our users rely on

We wanted a single tool to perform these checks for us and establish a baseline performance expectation for our Looker instance. We believe in the power of continuous integration for analytics, and we built spectacles to enhance the business intelligence layer of analytics CI pipelines.

How it works

spectacles is written in Python and uses an API-permitted Looker user to perform a few different health checks.

  1. Connect to the API and establish a development mode session
  2. Check out the CI build branch of interest on the project
  3. Parse each Explore in the model for exposed dimensions
  4. Query each Explore with all exposed dimensions to find any broken fields
  5. Run the Content Validator and return any errors

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectacles-0.0.1.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

spectacles-0.0.1-py2.py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page