v0.2.0
Release v0.2.0
✨ Features
-
HTTP Client for performing HTTP calls with the following options -
(These options are order-agnostic and will override specific functionalities over basic HTTP calls)- Circuit Breaker for automatically cutting off service calls if the downstream service constantly throws 5xx.
- Health Configs for allowing custom health-check endpoints to be configured to perform health checks.
-
Introduced
/.well-known/alive
default endpoint to check if the application is serving incoming requests. -
Introduced formatted logging for SQL queries, Redis queries, and HTTP service calls, where data is formatted to look readable and properly formatted to make it easy for users to debug and find important logs.
-
Remote Log Level Change - users can provide a service URL that provides data to change the log level for the application without stopping and re-running the application.
-
Metrics - creating metrics and updating their values by open telemetry standards with support for the following metrics using Prometheus as an exporter and exposing these on a customizable port and
/metrics
endpoint :- Counter: A metric whose values are strictly increasing.
- UpDownCounter: A metric that increases or decreases from the current value by a certain value.
- Histogram: A metric that samples observations (like request durations or response sizes) and counts them in configurable buckets. It also provides a sum of all observed values.
- Gauge: A metric representing a single numerical value that can arbitrarily go up and down, this change is not dependent on the previous value of the metric.
🐞 Fixes
- Tracing has been fixed where the traces were not in order and appeared to be in a non-hierarchal manner
- Refactored the implementation and response for
/.well-known/health