-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathtarget.yaml
More file actions
189 lines (189 loc) · 7.58 KB
/
Copy pathtarget.yaml
File metadata and controls
189 lines (189 loc) · 7.58 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
---
TARGET:
summary: Defines a new target
example: TARGET KEYSIGHT_N6700 PWR_SUPPLY1
parameters:
- name: Folder Name
required: true
description: The target folder
values: .*
- name: Name
required: true
description: The target name. While this typically matches the Folder Name
it can be different to create multiple targets based on the same target definition.
As in the Example Usage, the target folder is KEYSIGHT_N6700 but the target name is PWR_SUPPLY1.
To create multiple targets from the same folder, just define multiple TARGET entries
with different target names. To make the target definition flexbible, you can use ERB to
insert the target name in procedures, libraries, etc via <%= target_name %>.
See [ERB target_name](/docs/configuration/format#target_name) for more information.
values: .*
modifiers:
CMD_BUFFER_DEPTH:
summary: Number of commands to buffer to ensure logged in order
since: 5.2.0
parameters:
- name: Buffer Depth
required: true
description: Buffer depth in packets (Default = 5)
values: \d+
CMD_LOG_CYCLE_TIME:
summary: Command binary logs can be cycled on a time interval.
parameters:
- name: Time
required: true
description: Maximum time between files in seconds (default = 600)
values: \d+
CMD_LOG_CYCLE_SIZE:
summary: Command binary logs can be cycled after a certain log file size is reached.
parameters:
- name: Size
required: true
description: Maximum file size in bytes (default = 50_000_000)
values: \d+
CMD_LOG_RETAIN_TIME:
summary: How long to keep raw command logs in seconds.
parameters:
- name: Time
required: true
description: Number of seconds to keep raw command logs (default = nil = Forever)
values: \d+
TLM_BUFFER_DEPTH:
summary: Number of telemetry packets to buffer to ensure logged in order
since: 5.2.0
parameters:
- name: Buffer Depth
required: true
description: Buffer depth in packets (Default = 60)
values: \d+
TLM_LOG_CYCLE_TIME:
summary: Telemetry binary logs can be cycled on a time interval.
parameters:
- name: Time
required: true
description: Maximum time between files in seconds (default = 600)
values: \d+
TLM_LOG_CYCLE_SIZE:
summary: Telemetry binary logs can be cycled after a certain log file size is reached.
parameters:
- name: Size
required: true
description: Maximum file size in bytes (default = 50_000_000)
values: \d+
TLM_LOG_RETAIN_TIME:
summary: How long to keep raw telemetry logs in seconds.
parameters:
- name: Time
required: true
description: Number of seconds to keep raw telemetry logs (default = nil = Forever)
values: \d+
CMD_DECOM_RETAIN_TIME:
summary: How long to keep command decommutation records in the TSDB.
description:
Sets the retention time directly on QuestDB tables for automatic data expiration.
QuestDB will automatically remove data older than this retention time.
since: 7.0.0
parameters:
- name: Time
required: true
description:
Retention time value with unit (e.g., "24h" for 24 hours, "30d" for 30 days, "1y" for 1 year).
Supported units are h (hours), d (days), w (weeks), M (months), y (years).
Default = nil = Forever
values: \d+[hdwMy]
TLM_DECOM_RETAIN_TIME:
summary: How long to keep telemetry decommutation records in the TSDB.
description:
Sets the retention time directly on QuestDB tables for automatic data expiration.
QuestDB will automatically remove data older than this retention time.
since: 7.0.0
parameters:
- name: Time
required: true
description:
Retention time value with unit (e.g., "24h" for 24 hours, "30d" for 30 days, "1y" for 1 year).
Supported units are h (hours), d (days), w (weeks), M (months), y (years).
Default = nil = Forever
values: \d+[hdwMy]
LOG_RETAIN_TIME:
summary: How long to keep all regular telemetry logs in seconds.
parameters:
- name: Time
required: true
description: Number of seconds to keep all regular telemetry logs (default = nil = Forever)
values: \d+
CLEANUP_POLL_TIME:
summary: Period at which to run the cleanup process.
parameters:
- name: Time
required: true
description: Number of seconds between runs of the cleanup process (default = 3600 = 1 hour)
values: \d+
TARGET_MICROSERVICE:
summary: Breaks a target microservice out into its own process.
description:
Can be used to give more resources to processing that is falling behind.
If defined multiple times for the same type, will create multiple processes.
Each process can be given specific packets to process with the PACKET keyword.
since: 5.2.0
parameters:
- name: Type
required: true
description: The target microservice type. Must be one of DECOM, COMMANDLOG, PACKETLOG, or CLEANUP
values: .*
PACKET:
summary: Packet Name to allocate to the current TARGET_MICROSERVICE.
since: 5.2.0
parameters:
- name: Packet Name
required: true
description: The packet name. Does not apply to
CLEANUP target microservice type.
values: .*
DISABLE_ERB:
summary: Disable ERB processing
description: Disable ERB processing for the entire target or a set of regular expressions over its filenames
since: 5.12.0
parameters:
- name: Regex
required: false
description: Regex to match against filenames. If match, then no ERB processing
values: .+
SHARD:
summary: Operator shard to run target microservices on
description: Operator Shard. Only used if running multiple operator containers typically in Kubernetes
since: 6.0.0
parameters:
- name: Shard
required: false
description: Shard number starting from 0
values: \d+
example: |
SHARD 0
DB_SHARD:
summary: Shard for target database database if sharding Redis/TSDB
description: DB Shard. Only used if running multiple database shards typically in Kubernetes
since: 7.1.0
parameters:
- name: DB Shard
required: true
description: DB Shard number starting from 0
values: \d+
example: |
DB_SHARD 0
STORED_LIMITS_MODE:
summary: Controls how limits are evaluated for stored (non-real-time) telemetry packets
description:
Sets the limits handling policy for packets where the stored flag is true
(e.g., packets from file interfaces or historical data replay).
PROCESS processes limits normally including logging and reactions.
LOG evaluates limits and logs state changes but does not trigger limits reactions
or update the current limits state used by the API.
DISABLE skips limits processing entirely for stored packets.
since: _Coming Soon_
parameters:
- name: Mode
required: true
description: "PROCESS (default), LOG, or DISABLE"
values: ^(PROCESS|LOG|DISABLE)$
example: |
STORED_LIMITS_MODE DISABLE