0.334.0
·
2429 commits
to develop
since this release
0.334.0
Release Date: March 31, 2025
Changes
- feat: Introduce switch for envelope v1 metrics - #456 - Thanks @b1tamara and @mike-jc !
- revert fix for race condition now that race condition does not exist - cloudfoundry/gorouter#469
- This change + Go 1.24 changes how 1XX responses are handled. This might affect users:
Transport’s limit on 1xx informational responses received in response to a request has changed. It previously aborted a request and returned an error after receiving more than 5 1xx responses. It now returns an error if the total size of all 1xx responses exceeds the Transport.MaxResponseHeaderBytes configuration setting.
- This change + Go 1.24 changes how 1XX responses are handled. This might affect users:
Bosh Job Spec changes:
diff --git a/jobs/gorouter/spec b/jobs/gorouter/spec
index 1feb42f7..d373561e 100644
--- a/jobs/gorouter/spec
+++ b/jobs/gorouter/spec
@@ -76,8 +76,14 @@ properties:
description: "TLS Certificate used for the TLS listener of the LB healthcheck endpoint"
router.status.tls.key:
description: "Private Key used for the TLS listener of the LB healthcheck endpoint"
+ router.enable_envelope_v1_metrics:
+ description: "Enables support for metrics reported via Envelope."
+ default: true
router.prometheus.port:
- description: "Port for the prometheus endpoint."
+ description: "Port for the prometheus endpoint. Automatically enables Prometheus support."
+ router.prometheus.enable_scraper:
+ description: "Activate the Prometheus scraper to collect metrics from the gorouter."
+ default: true
router.prometheus.server_name:
description: "The server name used in the certificate for the metrics endpoint."
router.prometheus.ca_cert:
@@ -89,6 +95,18 @@ properties:
router.prometheus.key:
description: "TLS private key for prometheus server."
default: ""
+ router.prometheus.meters.route_lookup_time_histogram_buckets:
+ description: "Upper limits in nanoseconds of the ranges in which the observed value of route lookup time is expected to fall"
+ default: [10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, 100000]
+ router.prometheus.meters.route_registration_latency_histogram_buckets:
+ description: "Upper limits in milliseconds of the ranges in which the observed value of route registration latency is expected to fall"
+ default: [0.1, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4]
+ router.prometheus.meters.routing_response_latency_histogram_buckets:
+ description: "Upper limits in milliseconds of the ranges in which the observed value of route response latency is expected to fall"
+ default: [1, 2, 4, 6, 8, 10, 20, 40, 50, 100, 500, 1000]
+ router.prometheus.meters.http_latency_histogram_buckets:
+ description: "Upper limits in seconds of the ranges in which the observed value of the latency of http requests from gorouter and back"
+ default: [0.1, 0.2, 0.4, 0.8, 1.6, 3.2, 6.4, 12.8, 25.6]
router.requested_route_registration_interval_in_seconds:
description: |
On startup, the router will delay listening for requests by this duration to increase likelihood that it has a complete routing table before serving requests.
✨ Built with go 1.24.1
Full Changelog: v0.333.0...v0.334.0