-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating EKSIntegration for Enhanced Container Insights (#369)
- Loading branch information
1 parent
7fd3bd1
commit b048a62
Showing
15 changed files
with
151 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,5 @@ | |
"Timestamp", | ||
"Version", | ||
"CloudWatchMetrics" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
test/metric_value_benchmark/eks_resources/test_schemas/cluster_daemonset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "structured log schema", | ||
"description": "json schema for the cloudwatch agent k8s structured log", | ||
"type": "object", | ||
"properties": { | ||
"ClusterName":{}, | ||
"Type":{}, | ||
"Sources":{}, | ||
"Timestamp":{}, | ||
"Version":{}, | ||
"AutoScalingGroupName":{}, | ||
"Namespace": {}, | ||
"NodeName": {}, | ||
"PodName": {}, | ||
"replicas_desired": {}, | ||
"replicas_ready": {}, | ||
"status_replicas_available": {}, | ||
"status_replicas_unavailable": {} | ||
}, | ||
"required": [ | ||
"ClusterName", | ||
"Type", | ||
"Sources", | ||
"Timestamp", | ||
"Version", | ||
"AutoScalingGroupName", | ||
"NodeName", | ||
"PodName", | ||
"Namespace" | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
test/metric_value_benchmark/eks_resources/test_schemas/cluster_deployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "structured log schema", | ||
"description": "json schema for the cloudwatch agent k8s structured log", | ||
"type": "object", | ||
"properties": { | ||
"ClusterName":{}, | ||
"Type":{}, | ||
"Sources":{}, | ||
"Timestamp":{}, | ||
"Version":{}, | ||
"AutoScalingGroupName":{}, | ||
"Namespace": {}, | ||
"NodeName": {}, | ||
"PodName": {}, | ||
"replicas_desired": {}, | ||
"replicas_ready": {}, | ||
"status_replicas_available": {}, | ||
"status_replicas_unavailable": {} | ||
}, | ||
"required": [ | ||
"ClusterName", | ||
"Type", | ||
"Sources", | ||
"Timestamp", | ||
"Version", | ||
"AutoScalingGroupName", | ||
"NodeName", | ||
"PodName", | ||
"Namespace" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,5 @@ | |
"Service", | ||
"kubernetes", | ||
"CloudWatchMetrics" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,5 @@ | |
"device", | ||
"fstype", | ||
"kubernetes" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
41 changes: 41 additions & 0 deletions
41
test/metric_value_benchmark/eks_resources/test_schemas/control_plane.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "structured log schema", | ||
"description": "json schema for the cloudwatch agent k8s structured log", | ||
"type": "object", | ||
"properties": { | ||
"ClusterName": {}, | ||
"Type": {}, | ||
"Sources": {}, | ||
"Timestamp": {}, | ||
"Version": {}, | ||
"apiserver_storage_size_bytes": {}, | ||
"apiserver_storage_db_total_size_in_bytes": {}, | ||
"etcd_db_total_size_in_bytes": {}, | ||
"apiserver_storage_list_duration_seconds": {}, | ||
"apiserver_longrunning_requests": {}, | ||
"apiserver_request_duration_seconds": {}, | ||
"rest_client_request_duration_seconds": {}, | ||
"apiserver_request_total": {}, | ||
"apiserver_request_total_5xx": {}, | ||
"apiserver_admission_controller_admission_duration_seconds": {}, | ||
"apiserver_admission_step_admission_duration_seconds": {}, | ||
"etcd_request_duration_seconds": {}, | ||
"rest_client_requests_total": {}, | ||
"apiserver_current_inflight_requests": {}, | ||
"apiserver_current_inqueue_requests": {}, | ||
"apiserver_admission_webhook_admission_duration_seconds": {}, | ||
"apiserver_requested_deprecated_apis": {}, | ||
"apiserver_flowcontrol_rejected_requests_total": {}, | ||
"apiserver_flowcontrol_request_concurrency_limit": {}, | ||
"CloudWatchMetrics": {} | ||
}, | ||
"required": [ | ||
"ClusterName", | ||
"Type", | ||
"Sources", | ||
"Timestamp", | ||
"Version", | ||
"CloudWatchMetrics" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,5 @@ | |
"NodeName", | ||
"kubernetes", | ||
"CloudWatchMetrics" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,5 @@ | |
"NodeName", | ||
"kubernetes", | ||
"device" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,5 @@ | |
"kubernetes", | ||
"device", | ||
"fstype" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,5 @@ | |
"NodeName", | ||
"kubernetes", | ||
"interface" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,5 @@ | |
"Namespace", | ||
"interface", | ||
"kubernetes" | ||
], | ||
"additionalProperties": false | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters