We are pleased to announce a new release of Lightbend Telemetry, a suite of monitoring and observability tooling for Lightbend technologies. This release brings some highly requested capabilities to Telemetry, including:
Lightbend Telemetry provides deep observability into the inner-workings of distributed applications built with Akka, Lagom, Play, Java, and Scala. This lets users tap into the “black box” of distributed systems via events, metrics and distributed tracing. Telemetry provides a wide variety of integrations, including: Grafana, Prometheus, Elasticsearch, Jaeger, Zipkin, New Relic, Datadog, and others, including any tool that supports OpenTracing.
Telemetry 2.14 introduces support for automatic context propagation across instrumented services communicating via Kafka using Alpakka. Generation of tracing spans can also be enabled, providing traces like the following:
In combination with the Akka Streams tracing support, this can provide end-to-end traces where your Akka streams communicate via Kafka (using Alpakka):
By default, context propagation across Alpakka Kafka is enabled but span generation is not. The documentation covers mechanisms for enabling span generation and other useful configuration options including filtering of sensitive headers/keys and disabling propagation altogether.
This release provides new metrics for the ask request-response pattern used in Akka and Lagom. The screenshots below show the Prometheus/Grafana-backed dashboard alongside an explanation of the metrics included.
Asked requests — The number of messages that actors have been asked for in the selected time frame.
Requests failed — The number of times an actor responds with a
Failure to a request message.
Expired requests — The number of messages that haven’t been answered before a specified timeout in the selected time frame.
Expired requests by-timeout — The number of requests that timed out in the selected time frame grouped by their specific timeout values.
Success response time — The time (in milliseconds) between a message being sent and an answer being received, before the specified timeout, counting only successful responses.
Late response time — The time (in milliseconds) between a message being sent and an answer being received, counting only responses received after their timeout.
This release provides new metrics for Lagom projection insights, the screenshots below show the Prometheus/Grafana-backed dashboard alongside an explanation of the metrics included.
Processing time — The time (in milliseconds) taken to process an event.
Events processed successfully (per projection) — The number of events processed successfully within the selected time period, broken down by projection.
Latency — The time (in milliseconds) between an event being created and the moment it is considered as fully processed (which includes updating the offset store in all cases).
Events processed successfully — The number of events processed successfully within the selected time period.
Query latency — The time (in milliseconds) between an event being created and the moment it was read, to be processed.
Event processing failures — The number of event processing failures that occurred within the selected time period.
Telemetry 2.14 updates the versions of its OpenTracing related dependencies:
OpenTracing 0.32 has some deprecation warnings for methods that are subsequently removed in 0.33.
This release also contains a number of fixes, enhancements and performance improvements that are fully documented in the release notes with links through to the relevant documentation where appropriate.
To simplify the setup of Lightbend’s commercial Libraries, from Lightbend Telemetry 2.13 onwards, the sbt-cinnamon plugin will no longer require the commercial resolver in the plugins.sbt file.
This change brings the behaviour in line with other commercial products (such as Akka Enhancements) and means that the commercial resolver only needs to be defined once at the project level in build.sbt. If the commercial resolver cannot be found, a warning will be generated in the logs.
As always, we’re interested in your feedback or ideas for Lightbend Telemetry, to improve the visibility into Reactive applications and distributed systems. We encourage our clients to reach out to us through the Lightbend Support Portal, or get in touch with your Lightbend representative.
Not a Lightbend client yet? Why not schedule a demo of Lightbend Telemetry with one of our excellent teammates. Let us know when the time is right for a chat: