AWS X-RAY | .NET ON AWS | AWS Serverless | Amazon
HTML-код
- Опубликовано: 16 июл 2024
- AWS X-Ray is a service that helps analyze and debug distributed applications. X-Ray helps to monitor application traces, including the performance of calls to other downstream components or services, in either cloud-hosted applications or their own machines. It provides tools that you can use to view, filter, and gain insights into that data to identify issues and opportunities for optimization.
In this video let’s learn how to set up AWS X-Ray when building .NET Applications. I will show you how to set up X-Ray .NET SDK for tracing on an ASP NET Web API and see the results in the AWS Console. I will show you how to set up X-Ray trace capture on your local development machine, how capture other downstream requests, set up custom segments, and set sampling rules.
00:00 Introduction
02:44 Configuring X-Ray
04:51 Enabling X-ray
05:33 Installing NuGet Packages
06:36 Running X-Ray daemon locally
12:35 Register XRay For All Services
16:02 Key Concepts
20:06 Creating subsegments
22:57 Custom Annotations and Metadata
25:41 Adding SQS
30:18 Conclusion
🔗X-Ray - docs.aws.amazon.com/xray/late...
🔗Github Issue For X-Ray - github.com/aws/aws-xray-sdk-d...
Additional Watching
📹 Amazon DynamoDB - • AWS DynamoDB For The ....
📹AWS Lambda - • AWS LAMBDA For The .NE...
📹 Lambda Udemy Course - bit.ly/aws-lambda-udemy
📹 Dependency Injection - • DEPENDENCY INJECTION i...
📹 AWS REST API - • Amazon API GATEWAY - I...
📹 ASP Series - bit.ly/asp-net-core-series
📹AWS Series - bit.ly/aws-net-series
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🛠️ Uses rahulpnath.com/uses
🎥 Recording Setup and Workflow - www.rahulpnath.com/blog/youtu... Хобби
Excellent video, and very good explanation of how x-ray works
Great Video Rahul. Excellent Explanation.
Glad you liked it! Hope you are liking the full series bit.ly/aws-net-series
Great course. Many thanks for such wonderful effort :)
You're very welcome! Hope you are liking the AWS Series bit.ly/aws-net-series
Great video capturing comprehensive way of implementing aws Xray . I have one question How AWS distro is different than Aws Xray..
great video, but you running daemon locally right? do you have any video in EC2? and how configurate it in application?
Can we get some information about Xray Insights?
hi have one doubt , this video you mention you to use DynamoDB in AWS apart from DynamoDB in AWS how we can use our database like SSMS, Please help for this case
Are you trying to use SQL database from Lambda Function? Can you clarify a question a bit more on what you are trying to do Billu?
Is it same as app insight in azure?
More like Azure Monitor - Here is a good page which shows info on AWS - Azure comparison learn.microsoft.com/en-us/azure/architecture/aws-professional/services?WT.mc_id=AZ-MVP-5003875
how I can consume XRay in lambda function?
Hope this helps you get started docs.aws.amazon.com/lambda/latest/dg/services-xray.html
Let me know if you like to have a video on it and if you want anything particular covered.
how to install x-ray deamon locally in windows
Hope this helps Nikhil docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html
Followed your procedure here for my ASP.NETCORE 3.1 but received this error on aws logs :::
"Amazon.XRay.Recorder.Core.Exceptions.EntityNotAvailableException: Entity doesn't exist in AsyncLocal"
Full error ::
Amazon.XRay.Recorder.Core.Exceptions.EntityNotAvailableException: Entity doesn't exist in AsyncLocal
at Amazon.XRay.Recorder.Core.Internal.Context.AsyncLocalContextContainer.GetEntity() in /_/sdk/src/Core/Internal/Context/AsyncLocalContextContainer.netstandard.cs:line 45
at Amazon.XRay.Recorder.Core.AWSXRayRecorderImpl.GetEntity() in /_/sdk/src/Core/AWSXRayRecorderImpl.cs:line 978
at Amazon.XRay.Recorder.Handlers.AwsSdk.Internal.XRayPipelineHandler.ProcessBeginRequest(IExecutionContext executionContext) in /_/sdk/src/Handlers/AwsSdk/Internal/XRayPipelineHandler.cs:line 312
There is an existing bug with the nuget package which I mention at 26:17 tracked by this GitHub issue github.com/aws/aws-xray-sdk-dotnet/issues/267 If you use an older version of the package it should work for now.
@@RahulNath Thanks for your very useful content.
@@enyeluchukwuebukaj.7600 Thank you and hope you are liking the series bit.ly/aws-net-series
@@RahulNath Assuredly