diff --git a/CHANGELOG.md b/CHANGELOG.md index 40774b49e1..ad08043271 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Refinery Changelog +## 2.9.1 2024-12-12 + +### Fixes + +- register OTEL metrics if it's missing (#1456) | [Yingrong Zhao](https://github.com/vinozzZ) + +### Maintenance + +- call out cache changes and add missing changelog entry (#1454) | [Yingrong Zhao](https://github.com/vinozzZ) +- update Husky to 0.34.0 (#1459) | [Mike Goldsmith](https://github.com/MikeGoldsmith) + ## 2.9.0 2024-12-03 This release introduces a variety of enhancements and bug fixes. It has two major features: one that improves memory consumption reporting, and one experimental feature for configuring trace locality mode. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0953d2cc64..21ac4b8ccd 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,6 +2,11 @@ While [CHANGELOG.md](./CHANGELOG.md) contains detailed documentation and links to all the source code changes in a given release, this document is intended to be aimed at a more comprehensible version of the contents of the release from the point of view of users of Refinery. +## Version 2.9.1 + +This is a bug fix release and includes the following changes: +* Registers all metrics during process start up to ensure they record their initial and ongoing values + ## Version 2.9.0 This release has two major features: one that improves memory consumption reporting, and one experimental feature for configuring trace locality mode. diff --git a/config_complete.yaml b/config_complete.yaml index 3a1224f4b4..232a90c5e4 100644 --- a/config_complete.yaml +++ b/config_complete.yaml @@ -1083,7 +1083,7 @@ Collection: ## Eligible for live reload. # ShutdownDelay: 15s - ## TraceLocalityMode controls how Refinery handles spans that belongs to + ## TraceLocalityMode controls how Refinery handles spans that belong to ## the same trace in a clustered environment. ## ## When `concentrated`, Refinery will route all spans that belong to the diff --git a/metrics.md b/metrics.md index cae664189d..159c87ab4a 100644 --- a/metrics.md +++ b/metrics.md @@ -93,6 +93,10 @@ Metrics in this table don't contain their expected prefixes. This is because the | queue_time | Histogram | Microseconds | The time spent in the queue before being sent to Honeycomb | | _router_proxied | Counter | Dimensionless | the number of events proxied to another refinery | | _router_event | Counter | Dimensionless | the number of events received | +| _router_span | Counter | Dimensionless | the number of spans received | +| _router_dropped | Counter | Dimensionless | the number of events dropped because the channel was full | +| _router_nonspan | Counter | Dimensionless | the number of non-span events received | +| _router_peer | Counter | Dimensionless | the number of spans proxied to a peer | | queue_length | Gauge | Dimensionless | number of events waiting to be sent to destination | | queue_overflow | Counter | Dimensionless | number of events dropped due to queue overflow | | send_errors | Counter | Dimensionless | number of errors encountered while sending events to destination | diff --git a/tools/convert/metricsMeta.yaml b/tools/convert/metricsMeta.yaml index aedd34f7a8..adfc16686e 100644 --- a/tools/convert/metricsMeta.yaml +++ b/tools/convert/metricsMeta.yaml @@ -300,6 +300,22 @@ hasprefix: type: Counter unit: Dimensionless description: the number of events received + - name: _router_span + type: Counter + unit: Dimensionless + description: the number of spans received + - name: _router_dropped + type: Counter + unit: Dimensionless + description: the number of events dropped because the channel was full + - name: _router_nonspan + type: Counter + unit: Dimensionless + description: the number of non-span events received + - name: _router_peer + type: Counter + unit: Dimensionless + description: the number of spans proxied to a peer - name: queue_length type: Gauge unit: Dimensionless diff --git a/tools/convert/templates/configV2.tmpl b/tools/convert/templates/configV2.tmpl index 03f934829d..6692f9dcc8 100644 --- a/tools/convert/templates/configV2.tmpl +++ b/tools/convert/templates/configV2.tmpl @@ -1078,7 +1078,7 @@ Collection: ## Eligible for live reload. {{ nonDefaultOnly .Data "ShutdownDelay" "ShutdownDelay" "15s" }} - ## TraceLocalityMode controls how Refinery handles spans that belongs to + ## TraceLocalityMode controls how Refinery handles spans that belong to ## the same trace in a clustered environment. ## ## When `concentrated`, Refinery will route all spans that belong to the