Skip to content

Commit 81ab216

Browse files
Amazon CloudWatch Application Signals: Application Signals now supports creating composite Service Level Objectives on Service Operations. Users can now create service SLO on multiple operations.
1 parent 77711d8 commit 81ab216

2 files changed

Lines changed: 96 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudWatch Application Signals",
4+
"contributor": "",
5+
"description": "Application Signals now supports creating composite Service Level Objectives on Service Operations. Users can now create service SLO on multiple operations."
6+
}

services/applicationsignals/src/main/resources/codegen-resources/service-2.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,39 @@
832832
"max":250,
833833
"min":0
834834
},
835+
"CompositeSliComponent":{
836+
"type":"structure",
837+
"members":{
838+
"OperationName":{
839+
"shape":"OperationName",
840+
"documentation":"<p>The name of the operation to include in the composite SLI.</p>"
841+
}
842+
},
843+
"documentation":"<p>Identifies a single operation to include in a composite SLI for a service-level SLO. Used as an element of the <code>Components</code> list in <code>CompositeSliConfig</code>.</p>",
844+
"union":true
845+
},
846+
"CompositeSliComponents":{
847+
"type":"list",
848+
"member":{"shape":"CompositeSliComponent"},
849+
"documentation":"<p>A list of operations that form a composite SLI for a service-level SLO. Each element is a <code>CompositeSliComponent</code> that identifies a single operation. Used in the <code>Components</code> field of <code>CompositeSliConfig</code>.</p>",
850+
"max":20,
851+
"min":2
852+
},
853+
"CompositeSliConfig":{
854+
"type":"structure",
855+
"required":["SelectionConfig"],
856+
"members":{
857+
"SelectionConfig":{
858+
"shape":"SelectionConfig",
859+
"documentation":"<p>Specifies how operations are selected for this service-level SLO. Operations can be selected explicitly by listing them, by specifying a prefix to match operation names, or by providing a regular expression pattern.</p>"
860+
},
861+
"Components":{
862+
"shape":"CompositeSliComponents",
863+
"documentation":"<p>The list of operations included in this composite SLI. You must specify between 2 and 20 components. Each component is a <code>CompositeSliComponent</code> that identifies a single operation by its <code>OperationName</code>.</p>"
864+
}
865+
},
866+
"documentation":"<p>This structure contains the configuration for a composite service level indicator (SLI) that aggregates metrics across multiple operations of a service for service-level SLOs.</p>"
867+
},
835868
"ConflictException":{
836869
"type":"structure",
837870
"required":["Message"],
@@ -887,6 +920,10 @@
887920
"CreateRecommendedSlo":{
888921
"shape":"Boolean",
889922
"documentation":"<p>Set this to <code>true</code> to create a recommended SLO out of the box. When set to <code>true</code>, you don't need to specify the <code>MetricThreshold</code> or <code>ComparisonOperator</code> in the <code>SliConfig</code> or <code>RequestBasedSliConfig</code>. The default value is <code>false</code>.</p> <p>This is supported for SLOs on a service, service operation, or a dependency.</p>"
923+
},
924+
"AutoInvestigationEnabled":{
925+
"shape":"Boolean",
926+
"documentation":"<p>Indicates whether DevOps Agent will automatically investigate this SLO when it is breached</p>"
890927
}
891928
}
892929
},
@@ -2325,6 +2362,10 @@
23252362
"MetricSource":{
23262363
"shape":"MetricSource",
23272364
"documentation":"<p>Identifies the metric source for SLOs on resources other than Application Signals services.</p>"
2365+
},
2366+
"CompositeSliConfig":{
2367+
"shape":"CompositeSliConfig",
2368+
"documentation":"<p>The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.</p>"
23282369
}
23292370
},
23302371
"documentation":"<p>This structure contains the information about the metric that is used for a request-based SLO.</p>"
@@ -2363,6 +2404,10 @@
23632404
"MetricName":{
23642405
"shape":"MetricName",
23652406
"documentation":"<p>The name of the metric for SLOs on resources other than Application Signals services.</p>"
2407+
},
2408+
"CompositeSliConfig":{
2409+
"shape":"CompositeSliConfig",
2410+
"documentation":"<p>The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.</p>"
23662411
}
23672412
},
23682413
"documentation":"<p>Use this structure to specify the information for the metric that a period-based SLO will monitor.</p>"
@@ -2427,6 +2472,31 @@
24272472
"max":900,
24282473
"min":60
24292474
},
2475+
"SelectionConfig":{
2476+
"type":"structure",
2477+
"required":["Type"],
2478+
"members":{
2479+
"Type":{"shape":"SelectionType"},
2480+
"Pattern":{
2481+
"shape":"SelectionPattern",
2482+
"documentation":"<p>A prefix string or regular expression that specifies which operations to include in a service-level SLO. When <code>SelectionType</code> is <code>PREFIX</code>, this value is a prefix string that matches the beginning of operation names. When <code>SelectionType</code> is <code>REGEX</code>, this value is a regular expression that matches operation names.</p>"
2483+
}
2484+
},
2485+
"documentation":"<p>Defines how operations are selected for a service-level SLO.</p>"
2486+
},
2487+
"SelectionPattern":{
2488+
"type":"string",
2489+
"pattern":".+"
2490+
},
2491+
"SelectionType":{
2492+
"type":"string",
2493+
"documentation":"<p>The strategy for selecting operations to include in a service-level SLO.</p> <ul> <li> <p> <code>EXPLICIT</code> — You provide a specific list of operations in the <code>Components</code> field of <code>CompositeSliConfig</code>.</p> </li> <li> <p> <code>PREFIX</code> — You provide a prefix string in the <code>Pattern</code> field of <code>SelectionConfig</code>, and all operations whose names start with the prefix are included.</p> </li> <li> <p> <code>REGEX</code> — You provide a regular expression in the <code>Pattern</code> field of <code>SelectionConfig</code>, and all operations whose names match the pattern are included.</p> </li> </ul>",
2494+
"enum":[
2495+
"EXPLICIT",
2496+
"PREFIX",
2497+
"REGEX"
2498+
]
2499+
},
24302500
"Service":{
24312501
"type":"structure",
24322502
"required":[
@@ -2657,6 +2727,10 @@
26572727
"MetricSource":{
26582728
"shape":"MetricSource",
26592729
"documentation":"<p>Identifies the metric source for SLOs on resources other than Application Signals services.</p>"
2730+
},
2731+
"CompositeSliConfig":{
2732+
"shape":"CompositeSliConfig",
2733+
"documentation":"<p>The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.</p>"
26602734
}
26612735
},
26622736
"documentation":"<p>This structure contains the information about the metric that is used for a period-based SLO.</p>"
@@ -2699,6 +2773,10 @@
26992773
"DependencyConfig":{
27002774
"shape":"DependencyConfig",
27012775
"documentation":"<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
2776+
},
2777+
"CompositeSliConfig":{
2778+
"shape":"CompositeSliConfig",
2779+
"documentation":"<p>The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.</p>"
27022780
}
27032781
},
27042782
"documentation":"<p>Use this structure to specify the information for the metric that a period-based SLO will monitor.</p>"
@@ -2770,6 +2848,10 @@
27702848
"MetricSourceType":{
27712849
"shape":"MetricSourceType",
27722850
"documentation":"<p>Displays the SLI metric source type for this SLO. Supported types are:</p> <ul> <li> <p>Service operation</p> </li> <li> <p>Service dependency</p> </li> <li> <p>Service</p> </li> <li> <p>CloudWatch metric</p> </li> <li> <p>AppMonitor</p> </li> <li> <p>Canary</p> </li> </ul>"
2851+
},
2852+
"AutoInvestigationEnabled":{
2853+
"shape":"Boolean",
2854+
"documentation":"<p>Indicates whether DevOps Agent will automatically investigate this SLO when it is breached</p>"
27732855
}
27742856
},
27752857
"documentation":"<p>A structure containing information about one service level objective (SLO) that has been created in Application Signals. Creating SLOs can help you ensure your services are performing to the level that you expect. SLOs help you set and track a specific target level for the reliability and availability of your applications and services. Each SLO uses a service level indicator (SLI), which is a key performance metric, to calculate how much underperformance can be tolerated before the goal that you set for the SLO is not achieved.</p>"
@@ -2963,6 +3045,10 @@
29633045
"MetricSource":{
29643046
"shape":"MetricSource",
29653047
"documentation":"<p>Identifies the metric source for SLOs on resources other than Application Signals services.</p>"
3048+
},
3049+
"CompositeSliConfig":{
3050+
"shape":"CompositeSliConfig",
3051+
"documentation":"<p>The composite SLI configuration for service-level SLOs that monitor multiple operations of a service.</p>"
29663052
}
29673053
},
29683054
"documentation":"<p>A structure that contains information about one service level objective (SLO) created in Application Signals.</p>"
@@ -3265,6 +3351,10 @@
32653351
"BurnRateConfigurations":{
32663352
"shape":"BurnRateConfigurations",
32673353
"documentation":"<p>Use this array to create <i>burn rates</i> for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.</p>"
3354+
},
3355+
"AutoInvestigationEnabled":{
3356+
"shape":"Boolean",
3357+
"documentation":"<p>Indicates whether DevOps Agent will automatically investigate this SLO when it is breached</p>"
32683358
}
32693359
}
32703360
},

0 commit comments

Comments
 (0)