diff --git a/CHANGELOG.md b/CHANGELOG.md index ad08043271..be6ad4dea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Refinery Changelog +## 2.9.2 2025-01-23 + +### Fixes + +fix: only load config and rules once (#1470) | [Tyler Helmuth](https://github.com/TylerHelmuth) +fix: add incoming/peer_router_otlp metrics for otlp traffic (#1474) | [Yingrong Zhao](https://github.com/vinozzZ) + +### Maintenance + +maint(deps): bump the minor-patch group across 1 directory with 14 updates (#1475) | [dependabot](https://github.com/dependabot) +feat: update libhoney to 1.25.0 (#1473) | [Yingrong Zhao](https://github.com/vinozzZ) +maint: bump golang.org/x/net to v0.33.0 (#1466) | [Tyler Helmuth](https://github.com/TylerHelmuth) + ## 2.9.1 2024-12-12 ### Fixes diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 21ac4b8ccd..c69e53e2e6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,10 +2,16 @@ 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.2 + +Honeycomb's backend can now accept events with sizes up to 1 million bytes. This release enables Refinery to conform to the same limit and supports sending events up to 1MB. +It also improves Refinery's internal metrics by introducing a new metric, `incoming_router_otlp`, to track the amount of OTLP requests Refinery has received. + ## 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 + +- Registers all metrics during process start up to ensure they record their initial and ongoing values ## Version 2.9.0 diff --git a/metrics.md b/metrics.md index 159c87ab4a..094c944016 100644 --- a/metrics.md +++ b/metrics.md @@ -1,7 +1,7 @@ # Honeycomb Refinery Metrics Documentation This document contains the description of various metrics used in Refinery. -It was automatically generated on 2024-12-02 at 18:38:37 UTC. +It was automatically generated on 2025-01-23 at 16:59:37 UTC. Note: This document does not include metrics defined in the dynsampler-go dependency, as those metrics are generated dynamically at runtime. As a result, certain metrics may be missing or incomplete in this document, but they will still be available during execution with their full names. @@ -14,6 +14,8 @@ This table includes metrics with fully defined names. | cuckoo_current_capacity | Gauge | Dimensionless | current capacity of the cuckoo filter | | cuckoo_future_load_factor | Gauge | Percent | the fraction of slots occupied in the future cuckoo filter | | cuckoo_current_load_factor | Gauge | Percent | the fraction of slots occupied in the current cuckoo filter | +| cuckoo_addqueue_full | Counter | Dimensionless | the number of times the add queue was full and a drop decision was dropped | +| cuckoo_addqueue_locktime_uS | Histogram | Microseconds | the time spent holding the add queue lock | | cache_recent_dropped_traces | Gauge | Dimensionless | the current size of the most recent dropped trace cache | | collect_sent_reasons_cache_entries | Histogram | Dimensionless | Number of entries in the sent reasons cache | | is_ready | Gauge | Dimensionless | Whether the system is ready to receive traffic | @@ -58,6 +60,7 @@ This table includes metrics with fully defined names. | trace_aggregate_sample_rate | Histogram | Dimensionless | aggregate sample rate of both kept and dropped traces | | collector_redistribute_traces_duration_ms | Histogram | Milliseconds | duration of redistributing traces to peers | | collector_collect_loop_duration_ms | Histogram | Milliseconds | duration of the collect loop, the primary event processing goroutine | +| collector_send_expired_traces_in_cache_dur_ms | Histogram | Milliseconds | duration of sending expired traces in cache | | collector_outgoing_queue | Histogram | Dimensionless | number of traces waiting to be send to upstream | | collector_drop_decision_batch_count | Histogram | Dimensionless | number of drop decisions sent in a batch | | collector_expired_traces_missing_decisions | Gauge | Dimensionless | number of decision spans forwarded for expired traces missing trace decision | @@ -97,6 +100,8 @@ Metrics in this table don't contain their expected prefixes. This is because the | _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 | +| _router_batch | Counter | Dimensionless | the number of batches of events received | +| _router_otlp | Counter | Dimensionless | the number of batches of otlp requests received | | 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 adfc16686e..f1ff636629 100644 --- a/tools/convert/metricsMeta.yaml +++ b/tools/convert/metricsMeta.yaml @@ -15,6 +15,14 @@ complete: type: Gauge unit: Percent description: the fraction of slots occupied in the current cuckoo filter + - name: cuckoo_addqueue_full + type: Counter + unit: Dimensionless + description: the number of times the add queue was full and a drop decision was dropped + - name: cuckoo_addqueue_locktime_uS + type: Histogram + unit: Microseconds + description: the time spent holding the add queue lock - name: cache_recent_dropped_traces type: Gauge unit: Dimensionless @@ -191,6 +199,10 @@ complete: type: Histogram unit: Milliseconds description: duration of the collect loop, the primary event processing goroutine + - name: collector_send_expired_traces_in_cache_dur_ms + type: Histogram + unit: Milliseconds + description: duration of sending expired traces in cache - name: collector_outgoing_queue type: Histogram unit: Dimensionless @@ -316,6 +328,14 @@ hasprefix: type: Counter unit: Dimensionless description: the number of spans proxied to a peer + - name: _router_batch + type: Counter + unit: Dimensionless + description: the number of batches of events received + - name: _router_otlp + type: Counter + unit: Dimensionless + description: the number of batches of otlp requests received - name: queue_length type: Gauge unit: Dimensionless