You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/patterns/single-new-eks-observability-accelerators/single-new-eks-awsnative-observability.md
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,64 @@ View the Performance Monitoring Dashboard:
115
115
116
116
Refer to "Using CloudWatch Logs Insights to Query Logs in [Logging](../../logs.md).
117
117
118
+
## Enabling Application Signals for your services
119
+
120
+
Amazon CloudWatch Application Signals is a new integrated native APM experience
121
+
in AWS. CloudWatch Application Signals supports **Java** and **Python** applications
122
+
running on your Amazon EKS cluster.
123
+
124
+
If you haven't enabled Application Signals in this account yet, follow steps 1 - 4 in our [AWS documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Signals-Enable-EKS-Console.html).
125
+
126
+
Next, you have to update your Application to
127
+
`Configure application metrics and trace sampling`. For this, you must add an
128
+
annotation to a manifest YAML in your cluster. Adding this annotation
129
+
auto-instruments the application to send metrics, traces, and logs to
130
+
Application Signals. You have two options for the annotation:
131
+
132
+
1.**Annotate Workload** auto-instruments a single workload in the cluster.
133
+
- Paste the below line into the PodTemplate section of the workload manifest.
134
+
```
135
+
apiVersion: apps/v1
136
+
kind: Deployment
137
+
spec:
138
+
template:
139
+
metadata:
140
+
# add this annotation under the pod template metadata of the services deployment YAML you want to monitor
- In your terminal, enter `kubectl apply -f your_namespace_yaml` to apply the change.
163
+
- In your terminal, enter a command to restart all pods in the namespace. An example command to restart deployment workloads is `kubectl rollout restart deployment -n namespace_name`
164
+
165
+
## Visualization of CloudWatch Application Signals data
166
+
167
+
After enabling your Application to pass metrics and traces by following
0 commit comments