No project description provided
Project description
spectacles
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.
- Connect to the API and establish a development mode session
- Check out the CI build branch of interest on the project
- Parse each Explore in the model for exposed dimensions
- Query each Explore with all exposed dimensions to find any broken fields
- 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
Built Distribution
Hashes for spectacles-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296b7ccc5cc5842bfbf81d4dae0261cd4cc8161e85a169f53ed257ff326c02d5 |
|
MD5 | c20f909813ce6edabc6e652e47ba3728 |
|
BLAKE2b-256 | 7299997cbcc3096c6aaa19e99260d3864677fea17527d763cbb2a36df3e7d342 |