mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +00:00
1.7 KiB
1.7 KiB
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.
- Python 3.7 or above {% endhint %}
Install from PyPI
{% tabs %} {% tab title="Install Using PyPI" %}
pip install 'openmetadata-ingestion[redash]'
{% endtab %} {% endtabs %}
Run Manually
metadata ingest -c ./examples/workflows/redash.json
Configuration
{% code title="redash.json" %}
{
"source": {
"type": "redash",
"config": {
"api_key": "api_key",
"uri": "http://localhost:5000",
"service_name": "redash"
}
},
{% endcode %}
- api_key - pass the Redash generated api key.
- uri - pass the URI (host:port).
- 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.
- 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
{% code title="redash.json" %}
{
"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 %}