GitBook: [#198] Added Redash Documentation

This commit is contained in:
Ayush Shah 2021-10-18 17:29:50 +00:00 committed by gitbook-bot
parent fd61f01c22
commit d2bf7582c2
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
3 changed files with 87 additions and 0 deletions

View File

@ -69,6 +69,7 @@
* [Connectors](install/metadata-ingestion/connectors/README.md)
* [Dashboard Services](install/metadata-ingestion/connectors/dashboard-services/README.md)
* [Looker](install/metadata-ingestion/connectors/dashboard-services/looker.md)
* [Redash](install/metadata-ingestion/connectors/dashboard-services/redash.md)
* [Superset](install/metadata-ingestion/connectors/dashboard-services/superset.md)
* [Tableau](install/metadata-ingestion/connectors/dashboard-services/tableau.md)
* [Database Services](install/metadata-ingestion/connectors/database-services/README.md)

View File

@ -6,6 +6,10 @@ OpenMetadata supports connectors to some popular dashboard services. We will con
[looker.md](looker.md)
{% endcontent-ref %}
{% content-ref url="redash.md" %}
[redash.md](redash.md)
{% endcontent-ref %}
{% content-ref url="superset.md" %}
[superset.md](superset.md)
{% endcontent-ref %}

View File

@ -0,0 +1,82 @@
---
description: This guide will help install Redash connector and run manually
---
# Redash
{% hint style="info" %}
**Prerequisites**
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
1. Python 3.7 or above
{% endhint %}
### Install from PyPI
{% tabs %}
{% tab title="Install Using PyPI" %}
```bash
pip install 'openmetadata-ingestion[redash]'
```
{% endtab %}
{% endtabs %}
## Run Manually
```bash
metadata ingest -c ./examples/workflows/redash.json
```
### Configuration
{% code title="redash.json" %}
```javascript
{
"source": {
"type": "redash",
"config": {
"api_key": "api_key",
"uri": "http://localhost:5000",
"service_name": "redash"
}
},
```
{% endcode %}
1. **api_key** - pass the Redash generated api key.
2. **uri** - pass the URI (host:port).
3. **service_name** - Service Name for this Redash cluster. If you added the Redash cluster through OpenMetadata UI, make sure the service name matches the same.
4. **filter_pattern** - It contains includes, excludes options to choose which pattern of datasets you want to ingest into OpenMetadata.
### Publish to OpenMetadata
Below is the configuration to publish Redash data into the OpenMetadata service.
Add Optionally`pii` processor and `metadata-rest` sink along with `metadata-server` config
{% code title="redash.json" %}
```javascript
{
"source": {
"type": "redash",
"config": {
"api_key": "api_key",
"uri": "http://localhost:5000",
"service_name": "redash"
}
},
"sink": {
"type": "metadata-rest",
"config": {}
},
"metadata_server": {
"type": "metadata-server",
"config": {
"api_endpoint": "http://localhost:8585/api",
"auth_provider_type": "no-auth"
}
}
}
```
{% endcode %}