Skip to content

Commit

Permalink
maint: prepare for release v2.9.2 (#1476)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?

- Prepare for 2.9.2 release

## Short description of the changes

- generated metrics doc
- updated changelog and release_note
  • Loading branch information
VinozzZ authored Jan 23, 2025
1 parent 570b6c2 commit aa8e92a
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 7 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion metrics.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
20 changes: 20 additions & 0 deletions tools/convert/metricsMeta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aa8e92a

Please sign in to comment.