mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-02-06 10:54:33 +00:00
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"$id": "https://open-metadata.org/schema/metadataIngestion/databaseServiceQueryUsagePipeline.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "DatabaseServiceQueryUsagePipeline",
|
|
"description": "DatabaseService Query Usage Pipeline Configuration.",
|
|
"definitions": {
|
|
"databaseUsageConfigType": {
|
|
"description": "Database Source Config Usage Pipeline type",
|
|
"type": "string",
|
|
"enum": ["DatabaseUsage"],
|
|
"default": "DatabaseUsage"
|
|
}
|
|
},
|
|
"properties": {
|
|
"type": {
|
|
"description": "Pipeline type",
|
|
"$ref": "#/definitions/databaseUsageConfigType",
|
|
"default": "DatabaseUsage"
|
|
},
|
|
"queryLogDuration": {
|
|
"description": "Configuration to tune how far we want to look back in query logs to process usage data.",
|
|
"type": "integer",
|
|
"default": 1
|
|
},
|
|
"stageFileLocation": {
|
|
"description": "Temporary file name to store the query logs before processing. Absolute file path required.",
|
|
"type": "string",
|
|
"default": "/tmp/query_log"
|
|
},
|
|
"resultLimit": {
|
|
"description": "Configuration to set the limit for query logs",
|
|
"type": "integer",
|
|
"default": "1000"
|
|
},
|
|
"queryLogFilePath": {
|
|
"description": "Configuration to set the file path for query logs",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|