Observability in Choreo - The New Low-Code Development Platform
By Srinath Perera
- 16 Jun, 2021
Enterprises worldwide are accelerating their digital transformation initiatives, with many starting years earlier than originally planned. However, too often, these initiatives are hampered by the lack of deep technical expertise required to get projects off the ground and deliver digital products and solutions. WSO2 addresses this challenge with the introduction of Choreo, the new digital platform as a service for cloud native engineering.
Choreo aims to make a developer’s life easier by empowering users to rapidly develop, operate, and evolve cloud native enterprise applications. As an AI-based tool, Choreo’s observability features help to effortlessly find and troubleshoot problems. Moreover, since Choreo runs in the cloud and is hosted by a service provider, users cannot log in to the machines their applications are running. Hence, the value of troubleshooting support cannot be understated.
The above diagram shows the high-level architecture of Choreo’s observability. There are two main components: the data collection and observability views.
Choreo collects a rich set of information without the user having to add any instrumentation. It collects three types of data from your application.
While troubleshooting, we believe the best experiences are provided by rich, nuanced, and detailed profiler views, such as via flame graphs, rather than allowing the user to create their visualizations, which are often poor at providing a great troubleshooting experience. More details about the views can be found here.
The observability view presents the low-code diagram of a Choreo application on the left, this also includes annotations about the success rates of different paths and the time taken by different statements in the system. The righthand panel shows throughput, latency data, and logs.
As we noted in the architecture section, the observability implementation queries the cloud databases for application execution traces and uses the information to recreate full details about the execution.
The root cause analysis view presents logs, latency, and other telemetry data aligned by timelines, which lets us see all events in context to each other and detect patterns. The implementation queries the cloud database, based on time range and aligns data accordingly.
The flame graph builds a stack trace using the application execution traces and is helpful in finding bottlenecks in the application. The implementation loads data from the cloud database and renders the flame graph.
The deep observability capabilities in Choreo enable enterprises to view observability data at both design-time and run-time in order to troubleshoot issues. Additionally, AI-based anomaly alerts call attention to developers when required and help isolate the problem. In this article, we discussed the key observability features and dug into their architecture and innerworkings.
Click here to find out more on how Choreo gives organizations a single, all-inclusive platform for creating integrations, services and APIs; managing APIs; and deploying services and APIs—going from ideas to production in hours.