Repository navigation
Expand file tree
/
Copy pathintegrations_user_config_schema.json
More file actions
98 lines (98 loc) · 3.5 KB
/
Copy pathintegrations_user_config_schema.json
File metadata and controls
98 lines (98 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"dashboard": {
"additionalProperties": true,
"title": "Integration user config",
"type": "object"
},
"datadog": {
"additionalProperties": true,
"title": "Integration user config",
"type": "object"
},
"jolokia": {
"additionalProperties": true,
"title": "Integration user config",
"type": "object"
},
"logs": {
"additionalProperties": false,
"properties": {
"elasticsearch_index_days_max": {
"default": 3,
"example": 5,
"maximum": 10000,
"minimum": 1,
"title": "Elasticsearch index retention limit",
"type": "integer"
},
"elasticsearch_index_prefix": {
"default": "logs",
"example": "logs",
"maxLength": 1000,
"minLength": 1,
"title": "Elasticsearch index prefix",
"type": "string"
}
},
"type": "object"
},
"metrics": {
"additionalProperties": true,
"properties": {
"database": {
"example": "metrics",
"pattern": "^[_A-Za-z0-9][-_A-Za-z0-9]{0,39}$",
"title": "Name of the database where to store metric datapoints. Only affects PostgreSQL destinations. Defaults to 'metrics'. Note that this must be the same for all metrics integrations that write data to the same PostgreSQL service.",
"type": "string",
"user_error": "Must consist of alpha-numeric characters, underscores or dashes, may not start with dash, max 40 characters"
},
"retention_days": {
"example": 30,
"maximum": 10000,
"minimum": 0,
"title": "Number of days to keep old metrics. Only affects PostgreSQL destinations. Set to 0 for no automatic cleanup. Defaults to 30 days.",
"type": "integer"
},
"ro_username": {
"example": "metrics_reader",
"pattern": "^[_A-Za-z0-9][-._A-Za-z0-9]{0,39}$",
"title": "Name of a user that can be used to read metrics. This will be used for Grafana integration (if enabled) to prevent Grafana users from making undesired changes. Only affects PostgreSQL destinations. Defaults to 'metrics_reader'. Note that this must be the same for all metrics integrations that write data to the same PostgreSQL service.",
"type": "string",
"user_error": "Must consist of alpha-numeric characters, dots, underscores or dashes, may not start with dash or dot, max 40 characters"
},
"username": {
"example": "metrics_writer",
"pattern": "^[_A-Za-z0-9][-._A-Za-z0-9]{0,39}$",
"title": "Name of the user used to write metrics. Only affects PostgreSQL destinations. Defaults to 'metrics_writer'. Note that this must be the same for all metrics integrations that write data to the same PostgreSQL service.",
"type": "string",
"user_error": "Must consist of alpha-numeric characters, dots, underscores or dashes, may not start with dash or dot, max 40 characters"
}
},
"title": "Integration user config",
"type": "object"
},
"mirrormaker": {
"additionalProperties": false,
"properties": {
"mirrormaker_whitelist": {
"default": ".*",
"example": ".*",
"maxLength": 1000,
"minLength": 1,
"title": "Mirrormaker topic whitelist",
"type": "string"
}
},
"type": "object"
},
"prometheus": {
"additionalProperties": true,
"title": "Integration user config",
"type": "object"
},
"read_replica": {
"additionalProperties": true,
"title": "Integration user config",
"type": "object"
}
}