@@ -191,6 +191,62 @@ This option can also be set using `-alertmanager.uris` flag. Example:
191
191
192
192
This variable is required and there is no default value.
193
193
194
+ #### ANNOTATIONS_DEFAULT_HIDDEN
195
+
196
+ Enabling this option will hide all annotations in the UI, except for those
197
+ that are listed in the ` ANNOTATIONS_VISIBLE ` option.
198
+
199
+ Examples:
200
+
201
+ ANNOTATIONS_DEFAULT_HIDDEN=true
202
+ ANNOTATIONS_DEFAULT_HIDDEN=false
203
+
204
+ This option can also be set using ` -annotations.default.hidden ` flag. Example:
205
+
206
+ $ unsee -annotations.default.hidden
207
+
208
+ Default is ` false ` , which means that all annotations are visible.
209
+
210
+ #### ANNOTATIONS_HIDDEN
211
+
212
+ List of annotation names that should be hidden in the UI. Hidden annotations
213
+ can still be accessed if needed by clicking on a zoom button that will appear
214
+ if there are any hidden annotations.
215
+
216
+ Examples:
217
+
218
+ ANNOTATIONS_HIDDEN=summary
219
+ ANNOTATIONS_HIDDEN="summary owner"
220
+
221
+ This option can also be set using ` -annotations.hidden ` flag. Example:
222
+
223
+ $ unsee -annotations.hidden "summary owner"
224
+
225
+ This variable is optional and default is not set (all annotations are visible),
226
+ unless user enables ` ANNOTATIONS_DEFAULT_HIDDEN ` option.
227
+
228
+ #### ANNOTATIONS_VISIBLE
229
+
230
+ List of annotation names that should be visible in the UI. This option is only
231
+ useful when ` ANNOTATIONS_DEFAULT_HIDDEN ` is set.
232
+ With ` ANNOTATIONS_DEFAULT_HIDDEN ` all annotations are hidden by default unless
233
+ they are present in the ` ANNOTATIONS_VISIBLE ` option.
234
+ If ` ANNOTATIONS_DEFAULT_HIDDEN ` is not enabled this option is no-op.
235
+
236
+ Examples:
237
+
238
+ ANNOTATIONS_VISIBLE=summary
239
+ ANNOTATIONS_VISIBLE="summary owner"
240
+
241
+ This option can also be set using ` -annotations.visible ` flag. Example:
242
+
243
+ $ unsee -annotations.visible "summary owner"
244
+
245
+ This variable is optional and default is not set.
246
+ If ` ANNOTATIONS_HIDDEN ` is enabled then all annotations are hidden by default.
247
+ If ` ANNOTATIONS_HIDDEN ` is not enabled then all annotations are visible by
248
+ default.
249
+
194
250
#### DEBUG
195
251
196
252
Will enable [ gin] ( https://github.com/gin-gonic/gin ) debug mode. This will
0 commit comments