Skip to content

Commit eab1d02

Browse files
author
AWS
committed
EMR Serverless Update: This release adds the capability to publish detailed Spark engine metrics to Amazon Managed Service for Prometheus (AMP) for enhanced monitoring for Spark jobs.
1 parent 5deea56 commit eab1d02

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "EMR Serverless",
4+
"contributor": "",
5+
"description": "This release adds the capability to publish detailed Spark engine metrics to Amazon Managed Service for Prometheus (AMP) for enhanced monitoring for Spark jobs."
6+
}

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

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,18 @@
600600
},
601601
"documentation":"<p>A configuration specification to be used to override existing configurations.</p>"
602602
},
603+
"ConfigurationPropertyKey":{
604+
"type":"string",
605+
"max":1024,
606+
"min":1,
607+
"pattern":".*\\S.*"
608+
},
609+
"ConfigurationPropertyValue":{
610+
"type":"string",
611+
"max":1024,
612+
"min":0,
613+
"pattern":".*\\S.*"
614+
},
603615
"ConflictException":{
604616
"type":"structure",
605617
"required":["message"],
@@ -1395,6 +1407,10 @@
13951407
"cloudWatchLoggingConfiguration":{
13961408
"shape":"CloudWatchLoggingConfiguration",
13971409
"documentation":"<p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.</p>"
1410+
},
1411+
"prometheusMonitoringConfiguration":{
1412+
"shape":"PrometheusMonitoringConfiguration",
1413+
"documentation":"<p>The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.</p>"
13981414
}
13991415
},
14001416
"documentation":"<p>The configuration setting for monitoring.</p>"
@@ -1419,6 +1435,22 @@
14191435
"min":1,
14201436
"pattern":"[A-Za-z0-9_=-]+"
14211437
},
1438+
"PrometheusMonitoringConfiguration":{
1439+
"type":"structure",
1440+
"members":{
1441+
"remoteWriteUrl":{
1442+
"shape":"PrometheusUrlString",
1443+
"documentation":"<p>The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.</p>"
1444+
}
1445+
},
1446+
"documentation":"<p>The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.</p>"
1447+
},
1448+
"PrometheusUrlString":{
1449+
"type":"string",
1450+
"max":10280,
1451+
"min":1,
1452+
"pattern":"https://aps-workspaces.([a-z]{2}-[a-z-]{1,20}-[1-9]).amazonaws(.[0-9A-Za-z]{2,4})+/workspaces/[-_.0-9A-Za-z]{1,100}/api/v1/remote_write"
1453+
},
14221454
"Query":{
14231455
"type":"string",
14241456
"max":10280,
@@ -1503,8 +1535,8 @@
15031535
},
15041536
"SensitivePropertiesMap":{
15051537
"type":"map",
1506-
"key":{"shape":"String1024"},
1507-
"value":{"shape":"String1024"},
1538+
"key":{"shape":"ConfigurationPropertyKey"},
1539+
"value":{"shape":"ConfigurationPropertyValue"},
15081540
"max":100,
15091541
"min":0,
15101542
"sensitive":true

0 commit comments

Comments
 (0)