mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-20 06:58:18 +00:00
31 lines
779 B
YAML
31 lines
779 B
YAML
![]() |
source:
|
||
|
type: postgres-usage
|
||
|
serviceName: "<service name>"
|
||
|
serviceConnection:
|
||
|
config:
|
||
|
type: Postgres
|
||
|
username: openmetadata_user
|
||
|
password: openmetadata_password
|
||
|
hostPort: localhost:5432
|
||
|
database: <database username>
|
||
|
sourceConfig:
|
||
|
config:
|
||
|
queryLogDuration: "<query log duration integer>"
|
||
|
stageFileLocation: "<path to store the stage file>"
|
||
|
resultLimit: "<query log limit integer>"
|
||
|
processor:
|
||
|
type: query-parser
|
||
|
config: {}
|
||
|
stage:
|
||
|
type: table-usage
|
||
|
config:
|
||
|
filename: "/tmp/postgres_usage"
|
||
|
bulkSink:
|
||
|
type: metadata-usage
|
||
|
config:
|
||
|
filename: "/tmp/postgres_usage"
|
||
|
workflowConfig:
|
||
|
openMetadataServerConfig:
|
||
|
hostPort: "<OpenMetadata host and port>"
|
||
|
authProvider: "<OpenMetadata auth provider>"
|