Skip to content

Installer for DataKitchen's Open Source Data Observability Products. Data breaks. Servers break. Your toolchain breaks. Ensure your team is the first to know and the first to solve with visibility across and down your data estate. Save time with simple, fast data quality test generation and execution. Trust your data, tools, and systems end to end.

License

Notifications You must be signed in to change notification settings

DataKitchen/data-observability-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DataKitchen Data Observability Installer

apache 2.0 license Badge PRs Badge Documentation Static Badge

Data breaks. Servers break. Your toolchain breaks. Ensure your data team is the first to know and the first to solve with visibility across and down your data estate. Save time with simple, fast data quality test generation and execution. Trust your data, tools, and systems end to end.

This repo contains the installer and quickstart setup for the DataKitchen Open Source Data Observability product suite (released April 2024).

  • DataOps Data Quality TestGen is a data quality verification tool that does five main tasks: (1) data profiling, (2) new dataset screening and hygiene review, (3) algorithmic generation of data quality validation tests, (4) ongoing production testing of new data refreshes and (5) continuous periodic monitoring of datasets for anomalies (GitHub).
  • DataOps Observability monitors every tool used in the journey of data from data source to customer value, from any team development environment into production, across every tool, team, data set, environment, and project so that problems are detected, localized, and understood immediately (GitHub).

DataKitchen Open Source Data Observability

For background on why we build this product check out the articles on 'why we open sourced', manifesto, free book, and top data observability and DataOps articles.

Features

What does DataKitchen's Open Source Data Observability do? It helps you understand and find data issues in new data.

DatKitchen Open Source Data Observability Features - New Data

It constantly watches your data for data quality anomalies and alerts you of problems.

DatKitchen Open Source Data Observability Features - Data Ingestion and Polling

It monitors multi-tool, multi-data set, multi-hop data analytic production processes.

DatKitchen Open Source Data Observability Features - Data Production

And it allows you to make fast, safe development changes.

DatKitchen Open Source Data Observability Features - Development CI-CD

Prerequisites

Minimum system requirements

  • 2 CPUs
  • 8 GB memory
  • 20 GB disk space

Install the required software

Requirements for TestGen & Observability

Software Tested Versions Command to check version
Python
- Most Linux and macOS systems have Python pre-installed.
- On Windows machines, you will need to download and install it.
3.9, 3.10, 3.11, 3.12 python3 --version
Docker
Docker Compose
25.0.3, 26.1.1
2.24.6, 2.27.0
docker -v
docker compose version

Additional Requirements for Observability only

Software Tested Versions Command to check version
Minikube 1.32.0, 1.33.0, 1.34.0 minikube version
Helm 3.13.3, 3.14.3 helm version
Minikube Driver
- macOS on Intel chip: HyperKit
- Other operating systems: Docker

0.20210107
25.0.3, 26.1.1

hyperkit -v
docker -v

Download the installer

On Unix-based operating systems, use the following command to download it to the current directory. We recommend creating a new, empty directory.

curl -o dk-installer.py 'https://raw.githubusercontent.com/DataKitchen/data-observability-installer/main/dk-installer.py'
  • Alternatively, you can manually download the dk-installer.py file from this repo.
  • All commands listed below should be run from the folder containing this file.
  • For usage help and command options, run python3 dk-installer.py --help or python3 dk-installer.py <command> --help.

Quickstart Guide

The Data Observability quickstart walks you through Dataops Observability and TestGen capabilities to demonstrate how our products cover critical use cases for data and analytic teams.

Before going through the quickstart, complete the prequisites above and then the following steps to install the two products and setup the demo data. For any of the commands, you can view additional options by appending --help at the end.

Install the TestGen application

The installation downloads the latest Docker images for TestGen and deploys a new Docker Compose application. The process may take 5~10 minutes depending on your machine and network connection.

python3 dk-installer.py tg install

The --port option may be used to set a custom localhost port for the application (default: 8501).

To enable SSL for HTTPS support, use the --ssl-cert-file and --ssl-key-file options to specify local file paths to your SSL certificate and key files.

Once the installation completes, verify that you can login to the UI with the URL and credentials provided in the output.

Install the Observability application

The installation downloads the latest Helm charts and Docker images for Observability and deploys the application on a new minikube cluster. The process may take 5~30 minutes depending on your machine and network connection.

python3 dk-installer.py obs install

Bind HTTP ports to host machine

This step is required to access the application when using Docker driver on Mac or Windows. It may also be useful for installations on remote machines to access the UI from a local browser.

python3 dk-installer.py obs expose

The --port option may be used to set a custom localhost port for the application (default: 8082).

Verify that you can login to the UI with the URL and credentials provided in the output. Leave this process running, and continue the next steps on another terminal window.

Run the TestGen demo setup

The demo-config.json file generated by the Observability installation must be present in the folder.

python3 dk-installer.py tg run-demo --export

In the TestGen UI, you will see that new data profiling and test results have been generated. Additionally, in the Observavility UI, you will see that new test outcome events have been received.

Run the Observability demo setup

The demo-config.json file generated by the Observability installation must be present in the folder.

python3 dk-installer.py obs run-demo

In the Observability UI, you will see that new journeys and events have been generated.

Run the Agent Heartbeat demo setup

The demo-config.json file generated by the Observability installation must be present in the folder.

python3 dk-installer.py obs run-heartbeat-demo

In the Observability UI, you will see that new agents have been generated on the Integrations page.

Leave this process running, and continue with the quickstart guide to tour the applications.

Product Documentation

DataOps TestGen

DataOps Observability

Useful Commands

DataOps TestGen

The docker compose CLI can be used to operate the installed TestGen application. All commands must be run in the same folder that contains the docker-compose.yaml file generated by the installation.

Access the testgen CLI: docker compose exec engine bash (use exit to return to the regular terminal)

Stop the app: docker compose down

Restart the app: docker compose up

Upgrade the app to latest version: python3 dk-installer.py tg upgrade

DataOps Observability

The minikube and kubectl command line tools can be used to operate the Observability application.

Inspect the pods: kubectl get pods

Get pod logs: kubectl logs <POD ID>

Stop the app: minikube stop

Restart the app: minikube start

Remove Demo Data

After completing the quickstart, you can remove the demo data from the applications with the following steps.

Stop the Agent Heartbeat demo

Stop the process that is running the Agent Heartbeat demo using Ctrl + C.

Note: Currently, the agents generated by the heartbeat demo are not cleaned up.

Remove TestGen & Observability demo data

The demo-config.json file generated by the Observability installation must be present in the folder.

python3 dk-installer.py tg delete-demo
python3 dk-installer.py obs delete-demo

Uninstall Applications

Uninstall TestGen

python3 dk-installer.py tg delete

Uninstall Observability

python3 dk-installer.py obs delete

Use Cases for Data Observability

Data Analytics Use Case When Does it Happen Data Observability Challenge Key Data Observability Product Feature Key Benefit
Patch (or pushback): New data analysis and cleansing Before New Data Sources Are Added To Production Evaluate new data, find data hygiene issues, and communicate with your data providers. DataOps TestGen's data profiling of 51 data characteristics, then 27 data hygiene detector suggestions; UI to review and disposition Save time, lower errors, improve data quality
Poll: Updates to existing data sources; Data ingestion monitoring Continually Find anomalies in data updates and notify the proper party in the right place. DataOps TestGen's auto-generation of data anomaly tests: freshness, schema, volume, and data drift checks. DataOps Observability Data Journeys, overview UI, and notification rules and limits Find problem data quickly, save time, lower errors
Production: Monitoring of multi-tool, multi-data sets, multi-hop, data analytic production processes. During The Production Cycle Find data, SLA, and toolchain problems, local quickly, and notify quickly. DataOps TestGen's auto-generation of 32 data quality validation tests based on data profiling. 2 custom test types. Fast in database SQL execution (no data copies). DataOps Observability's end-to-end Data Journeys are digital twins that represent your entire process and allow you to find, alert, and fix quickly. Stop embarrassing customer errors, gain customer data trust, lower errors, improve team productivity
Push: Development Unit, Regression Tests, and Impact Assessment. During The Development Process Find problems in data or tools in development to validate code/configuration changes. The combination of DataOps Observability and DataOps TestGen can be run in your development environment against test data to provide functional, unit, and regression tests. Improve the speed and lower the risk of changes to production, less wasted time, improve productivity
Parallel: Checking data accuracy during Data Migration projects: "Does It Match'? During a Data Migration Process Checking two data similar data sets or processes so they produce the same results. DataOps TestGen can find errors between migrated data sets by comparing source and target data quality tests. DataOps Observability can monitor legacy tools and migrated cloud tools at the same time. Lower risk of data errors, improve project delivery time

Community

Getting Started Guide

We recommend you review the Data Observability Overview Demo.

Support

For support requests, join the Data Observability Slack and ask post on #support channel.

Connect

Talk and Learn with other data practitioners who are building with DataKitchen. Share knowledge, get help, and contribute to our open-source project.

Join our community here:

Contributing

For details on contributing or running the project for development, check out our contributing guide.

License

DataKitchen DataOps Observability is Apache 2.0 licensed.

About

Installer for DataKitchen's Open Source Data Observability Products. Data breaks. Servers break. Your toolchain breaks. Ensure your team is the first to know and the first to solve with visibility across and down your data estate. Save time with simple, fast data quality test generation and execution. Trust your data, tools, and systems end to end.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages