{"repo":"aws-samples/observability-with-amazon-opensearch","free":true,"listed":false,"github":"https://github.com/aws-samples/observability-with-amazon-opensearch","clone":"git clone https://github.com/aws-samples/observability-with-amazon-opensearch.git","description":"This repository contains a microservice-based Sample App demonstrating observability capabilities in the Amazon OpenSearch Service.","language":"Python","stars":88,"topics":["observability","opensearch","opensearch-dashboards","opentelemetry","opentelemetry-collector","aws","aws-eks","microservices","observability-demo","amazon-web-services"],"license":null,"category":"analytics","readme_excerpt":"Microservice Observability with Amazon OpenSearch Service Workshop Amazon OpenSearch Service’s Trace Analytics functionality allows you to go beyond simple monitoring to understand not just what events are happening, but why they are happening. In this workshop, learn how to instrument, collect, and analyze metrics, traces, and log data all the way from user front ends to service backends and everything in between. Put this together with Amazon OpenSearch Service, AWS Distro for OpenTelemetry, FluentBit, and Data Prepper. Architecture Instructions 🚀 Detailed Workshop instructions should be followed in this guide. (For Information Only) Manual Instrumentation to collect traces As our sample microservice application is built using Python and Java, we have used OpenTelemetry Python packages to manually instrument our code. In manual instrumentation, developers need to add trace capture code to the application. It provides customization in terms of capturing traces for a custom code block, name various components in OpenTelemetry like traces and spans, add attributes, events and handle specific exception within the code. Following are dependencies installed using pip. This could be found in the requirement.txt within each microservice under sample-apps. Lets take a sample microservice and try to understand the instrumentation specific code. Import dependent packages in the code. Configure and set it for the application. This includes exporting the logs to AWS Distro for OpenTele","default_branch":null,"files":null,"tree":[],"storefront":"/r/aws-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aws-samples/observability-with-amazon-opensearch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}