Skip to content

Commit 851f49b

Browse files
PPL Alerting: changing max PPL Monitor name length to 100 (#962)
Signed-off-by: Dennis Toepker <toepkerd@amazon.com> Co-authored-by: Dennis Toepker <toepkerd@amazon.com>
1 parent d80a024 commit 851f49b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/kotlin/org/opensearch/commons/alerting/model

src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ data class Monitor(
328328
val MONITOR_TYPE_PATTERN = Pattern.compile("[a-zA-Z0-9_]{5,25}")
329329

330330
// hard, nonadjustable limits for PPL Alerting
331-
const val ALERTING_MAX_NAME_LENGTH = 30 // max length of any name for monitors, triggers, notif actions, etc
331+
const val ALERTING_MAX_NAME_LENGTH = 100 // max length of any name for monitors, triggers, notif actions, etc
332332
const val UUID_LENGTH = 20 // the length of a UUID generated by UUIDs.base64UUID()
333333

334334
// This is defined here instead of in ScheduledJob to avoid having the ScheduledJob class know about all

0 commit comments

Comments
 (0)