Skip to content

Commit 2376efc

Browse files
author
Michal Ploski
committed
Fix path to images in tutorial section
1 parent c43a5e8 commit 2376efc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: docs/tutorial.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ From here, we could [set specific keys](./core/logger.md#append_keys-method){tar
511511
By having structured logs like this, we can easily search and analyse them in [CloudWatch Logs Insight](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html){target="_blank"}.
512512

513513
=== "CloudWatch Logs Insight Example"
514-
![CloudWatch Logs Insight Example](./media/cloudwatch_logs_insight_example.png)
514+
![CloudWatch Logs Insight Example](../media/cloudwatch_logs_insight_example.png)
515515

516516
## Tracing
517517

@@ -625,7 +625,7 @@ We've made the following changes in `template.yaml` for this to work seamless:
625625

626626
You can now build and deploy our updates with `sam build && sam deploy`. Once deployed, try invoking the application via the API endpoint, and visit [AWS X-Ray Console](https://console.aws.amazon.com/xray/home#/traces/){target="_blank"} to see how much progress we've made so far!!
627627

628-
![AWS X-Ray Console trace view](./media/tracer_xray_sdk_showcase.png)
628+
![AWS X-Ray Console trace view](../media/tracer_xray_sdk_showcase.png)
629629

630630
### Enriching our generated traces
631631

@@ -709,11 +709,11 @@ Let's break it down:
709709

710710
Repeat the process of building, deploying, and invoking your application via the API endpoint. Within the [AWS X-Ray Console](https://console.aws.amazon.com/xray/home#/traces/){target="_blank"}, you should now be able to group traces by the `User` and `ColdStart` annotation.
711711

712-
![Filtering traces by annotations](./media/tracer_xray_sdk_enriched.png)
712+
![Filtering traces by annotations](../media/tracer_xray_sdk_enriched.png)
713713

714714
If you choose any of the traces available, try opening the `handler` subsegment and you should see the response of your Lambda function under the `Metadata` tab.
715715

716-
![Filtering traces by metadata](./media/tracer_xray_sdk_enriched_2.png)
716+
![Filtering traces by metadata](../media/tracer_xray_sdk_enriched_2.png)
717717

718718
### Simplifying with Tracer
719719

@@ -773,14 +773,14 @@ Lambda Powertools optimizes for Lambda compute environment. As such, we add thes
773773
Repeat the process of building, deploying, and invoking your application via the API endpoint. Within the [AWS X-Ray Console](https://console.aws.amazon.com/xray/home#/traces/){target="_blank"}, you should see a similar view:
774774

775775

776-
![AWS X-Ray Console trace view using Lambda Powertools Tracer](./media/tracer_utility_showcase_2.png)
776+
![AWS X-Ray Console trace view using Lambda Powertools Tracer](../media/tracer_utility_showcase_2.png)
777777

778778
???+ tip
779779
Consider using [Amazon CloudWatch ServiceLens view](https://console.aws.amazon.com/cloudwatch/home#servicelens:service-map/map){target="_blank"} as it aggregates AWS X-Ray traces and CloudWatch metrics and logs in one view.
780780

781781
From here, you can browse to specific logs in CloudWatch Logs Insight, Metrics Dashboard or AWS X-Ray traces.
782782

783-
![CloudWatch ServiceLens View](./media/tracer_utility_showcase_3.png)
783+
![CloudWatch ServiceLens View](../media/tracer_utility_showcase_3.png)
784784

785785
???+ info
786786
For more information on Amazon CloudWatch ServiceLens, please visit [link](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ServiceLens.html).
@@ -990,7 +990,7 @@ That's a lot less boilerplate code! Let's break this down:
990990

991991
Repeat the process of building, deploying, and invoking your application via the API endpoint a few times to generate metrics - [Artillery](https://www.artillery.io/){target="_blank"} and [K6.io](https://k6.io/open-source){target="_blank"} are quick ways to generate some load. Within [CloudWatch Metrics view](https://console.aws.amazon.com/cloudwatch/home#metricsV2:graph=~()){target="_blank}, you should see `MyApp` custom namespace with your custom metrics there and `SuccessfulGreetings` available to graph.
992992

993-
![Custom Metrics Example](./media/metrics_utility_showcase.png)
993+
![Custom Metrics Example](../media/metrics_utility_showcase.png)
994994

995995
If you're curious about how the EMF portion of your function logs look like, you can quickly go to [CloudWatch ServiceLens view](https://console.aws.amazon.com/cloudwatch/home#servicelens:service-map/map){target="_blank"}, choose your function and open logs. You will see a similar entry that looks like this:
996996

0 commit comments

Comments
 (0)