OpenMetadata
Search…
Redash
This guide will help install Redash connector and run manually
Prerequisites
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
  1. 1.
    Python 3.7 or above

Install from PyPI

Install Using PyPI
1
pip install 'openmetadata-ingestion[redash]'
Copied!

Run Manually

1
metadata ingest -c ./examples/workflows/redash.json
Copied!

Configuration

redash.json
1
{
2
"source": {
3
"type": "redash",
4
"config": {
5
"api_key": "api_key",
6
"uri": "http://localhost:5000",
7
"service_name": "redash"
8
}
9
},
Copied!
  1. 1.
    api_key - pass the Redash generated api key.
  2. 2.
    uri - pass the URI (host:port).
  3. 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. 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 metadata-rest sink along with metadata-server config
redash.json
1
{
2
"source": {
3
"type": "redash",
4
"config": {
5
"api_key": "api_key",
6
"uri": "http://localhost:5000",
7
"service_name": "redash"
8
}
9
},
10
"sink": {
11
"type": "metadata-rest",
12
"config": {}
13
},
14
"metadata_server": {
15
"type": "metadata-server",
16
"config": {
17
"api_endpoint": "http://localhost:8585/api",
18
"auth_provider_type": "no-auth"
19
}
20
}
21
}
Copied!
Last modified 23h ago