Home / Companies / Lumigo / Blog / January 2024

January 2024 Summaries

2 posts from Lumigo

Filter
Month: Year:
Post Summaries Back to Blog
The new TestState API allows you to thoroughly test every state in a state machine, achieving nearly 100% coverage. It solves the problem of testing hard-to-reach execution paths and provides a way to iterate on your state definitions without redeploying the project. The API is not a local simulation tool and does not improve the speed of feedback loops, but it helps you test individual states directly and can be used for input or output processing logic. You should still perform component-level testing on Lambda functions involved in the state machine using "remocal tests" to maintain a fast feedback loop. Step Functions Local is no longer necessary, as the TestState API can invoke remote resources referenced by Task states. End-to-end tests are still valuable for business-critical execution paths to ensure that individual states function together as a unit and catch integration problems early.
Jan 15, 2024 1,450 words in the original blog post.
Prometheus is an open-source monitoring and alerting toolkit that offers a multidimensional data model, efficient data storage, and querying capabilities through its powerful query language, PromQL. It scrapes metrics from instrumented targets using the HTTP pull model and provides a flexible and powerful alerting system to send notifications based on predefined rules and conditions. Prometheus seamlessly integrates with Grafana for visualization and is suitable for traditional server-based architectures and cloud-native environments. OpenTelemetry is an open-source project focused on standardizing the collection of distributed traces and metrics in modern cloud-native applications. It provides a vendor-agnostic approach to observability, facilitating distributed tracing, instrumentation libraries, pluggable architecture, context propagation, and seamless integration with different observability backends. OpenTelemetry excels in scenarios where distributed tracing is critical for understanding interactions between different components, making it an ideal choice for complex, cloud-native applications with multiple microservices and service-to-service communication.
Jan 09, 2024 951 words in the original blog post.