-
Notifications
You must be signed in to change notification settings - Fork 0
/
chartacritty.yml
395 lines (371 loc) · 11.8 KB
/
chartacritty.yml
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
window:
padding:
x: 20
opacity: 0.8
# Font configuration
font:
# Normal (roman) font face
# normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
# family: Source Code Pro
# The `style` can be specified to pick a specific face.
# style: Regular
# Bold font face
# bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
# family: Source Code Pro
# The `style` can be specified to pick a specific face.
# style: Bold
# Italic font face
# italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
# family: Source Code Pro
# The `style` can be specified to pick a specific face.
# style: Italic
# Point size
size: 10.0
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
# Colors (Tomorrow Night Bright)
colors:
# Default colors
primary:
background: '0x151515'
foreground: '0xeaeaea'
# Cursor colors
#
# Colors which should be used to draw the terminal cursor. If these are unset,
# the cursor color will be the inverse of the cell color.
cursor:
text: '0xA1B0B8'
cursor: '0xffffff'
# Freya Colors
normal:
black: '0x252525'
red: '0xf61053'
green: '0x10f8a6'
yellow: '0xfad656'
blue: '0x31b5f8'
magenta: '0xD81B60'
cyan: '0x00ACC1'
white: '0xF5F5F5'
# Material Black
#normal:
# black: '0x252525'
# red: '0xFF443E'
# green: '0xC3D82C'
# yellow: '0xFFC135'
# blue: '0x42A5F5'
# magenta: '0xD81B60'
# cyan: '0x00ACC1'
# white: '0xF5F5F5'
# Bright colors
bright:
black: '0x666666'
red: '0xff3334'
green: '0x9ec400'
yellow: '0xe7c547'
blue: '0x7aa6da'
magenta: '0xb77ee0'
cyan: '0x54ced6'
white: '0xffffff'
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>="
# When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: true
# Live config reload (changes require restart)
live_config_reload: true
# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#
# Default:
# - (Linux/macOS) /bin/bash --login
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell:
program: /bin/bash
# args:
# - --login
# Send ESC (\x1b) before characters when alt is pressed.
# alt_send_esc: true
hints:
enabled:
- regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
command: None
post_processing: false
mouse:
enabled: false
mods: None
# Bindings are always filled by default, but will be replaced when a new
# binding with the same triggers is defined. To unset a default binding, it can
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
# a no-op if you do not wish to receive input characters for that binding.
key_bindings:
- { key: Comma, mods: Alt, action: ToggleChartShow }
- { key: Period, mods: Alt, chars: "\x1b." }
charts:
default_dimensions:
x: 50
y: 25
position:
x: 100
spacing: 10
charts:
- name: async loaded items
series:
- name: Number of input items for TimeSeries
type: async_items_loaded
refresh: 1
color: "0x9c27b0"
alpha: 1.0
- name: output newlines
series:
- name: output
type: alacritty_output
color: "0x00ff00"
alpha: 1.0
missing_values_policy: last
collision_policy: Increment
- name: input newlines
series:
- name: input
type: alacritty_input
color: "0xff0000"
alpha: 1.0
missing_values_policy: last
collision_policy: Increment
- name: load
decorations:
- type: reference
value: 16.0
color: "0x03dac6"
alpha: 0.3
height_multiplier: 0.05
- type: alert
target: prometheus alerts # ties to below series of the same name
threshold: 0
comparator: '>'
color: "0xff0000"
series:
- name: load average 1 min
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=node_load1'
color: "0xbb86cf"
alpha: 0.9
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: load average 5 min
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=node_load5'
color: "0xba68c8"
alpha: 0.6
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: load average 15 min
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=node_load15'
color: "0xee98fb"
alpha: 0.3
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: prometheus alerts
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=ALERTS'
color: "0xff0000"
collision_policy: Overwrite
missing_values_policy: zero # The ALERT type queries tend to disappear, so making them zero by default
alpha: 0.0 # This is meant only for alerting, so it will be set to transparent
- name: memory
series:
- name: memory used
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=node_memory_Active_bytes'
color: "0xcf6679"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: memory total
type: prometheus
refresh: 15
source: 'http://localhost:9090/api/v1/query_range?query=node_memory_MemTotal_bytes'
color: "0xe1f5fe"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: urithiru load
decorations:
- type: reference
value: 16.0
color: "0x03dac6"
alpha: 0.3
height_multiplier: 0.05
- type: alert
target: prometheus alerts # ties to below series of the same name
threshold: 0
comparator: '>'
color: "0xff0000"
series:
- name: urithiru load average 1 min
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=node_load1'
color: "0xbb86cf"
alpha: 0.9
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: urithiru load average 5 min
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=node_load5'
color: "0xba68c8"
alpha: 0.6
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: urithiru load average 15 min
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=node_load15'
color: "0xee98fb"
alpha: 0.3
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: urithiru prometheus alerts
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=ALERTS'
color: "0xff0000"
collision_policy: Overwrite
missing_values_policy: zero # The ALERT type queries tend to disappear, so making them zero by default
alpha: 0.0 # This is meant only for alerting, so it will be set to transparent
- name: urithiru memory
series:
- name: urithiru memory used
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=node_memory_Active_bytes'
color: "0xcf6679"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: urithiru memory total
type: prometheus
refresh: 15
source: 'http://urithiru-zt:9090/api/v1/query_range?query=node_memory_MemTotal_bytes'
color: "0xe1f5fe"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: corvid load
decorations:
- type: reference
value: 16.0
color: "0x03dac6"
alpha: 0.3
height_multiplier: 0.05
- type: alert
target: prometheus alerts # ties to below series of the same name
threshold: 0
comparator: '>'
color: "0xff0000"
series:
- name: corvid load average 1 min
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=node_load1'
color: "0xbb86cf"
alpha: 0.9
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: corvid load average 5 min
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=node_load5'
color: "0xba68c8"
alpha: 0.6
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: corvid load average 15 min
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=node_load15'
color: "0xee98fb"
alpha: 0.3
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: corvid prometheus alerts
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=ALERTS'
color: "0xff0000"
collision_policy: Overwrite
missing_values_policy: zero # The ALERT type queries tend to disappear, so making them zero by default
alpha: 0.0 # This is meant only for alerting, so it will be set to transparent
- name: corvid memory
series:
- name: corvid memory used
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=node_memory_Active_bytes'
color: "0xcf6679"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
- name: corvid memory total
type: prometheus
refresh: 15
source: 'http://corvid-zt:9090/api/v1/query_range?query=node_memory_MemTotal_bytes'
color: "0xe1f5fe"
alpha: 1.0
missing_values_policy: avg
collision_policy: Overwrite
metrics_capacity: 30
decorations:
decorators:
- type: Triangles
props:
type: Hexagon
props:
vertex_color: "0x1958a7"
center_color: "0x000000"
alpha: 0.05
radius: 100
- type: Triangles
props:
type: Lyon
props:
color: "0x1958a7"
alpha: 0.2
radius: 100 # This needs to be the same as the above radius or the hexs won't match