Prometheus v2.38.0 Release Notes
Release Date: 2022-08-16 // over 1 year ago-
- ๐ [FEATURE]: Web: Add a
/api/v1/format_query
HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005 - ๐ป [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039
- ๐ [FEATURE]: DNS SD: Support MX records for discovering targets. #10099
- [FEATURE]: Templates: Add
toTime()
template function that allows converting sample timestamps to Gotime.Time
values. #10993 - [ENHANCEMENT]: Kubernetes SD: Add
__meta_kubernetes_service_port_number
meta label indicating the service port number. #11002 #11053 - [ENHANCEMENT]: Kubernetes SD: Add
__meta_kubernetes_pod_container_image
meta label indicating the container image. #11034 #11146 - ๐ฒ [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995
- ๐ป [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068
- ๐ [ENHANCEMENT]: Web: Speed up calls to
/api/v1/rules
by avoiding locks and using atomic types instead. #10858 - ๐ [ENHANCEMENT]: Scrape: Add a
no-default-scrape-port
feature flag, which omits or removes any default HTTP (:80
) or HTTPS (:443
) ports in the target's scrape address. #9523 - ๐ [BUGFIX]: TSDB: In the WAL watcher metrics, expose the
type="exemplar"
label instead oftype="unknown"
for exemplar records. #11008 - ๐ [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099
- ๐ [FEATURE]: Web: Add a