Skip to content

Commit

Permalink
Merge branch 'main' into yingrong/fix_panic_in_tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
VinozzZ authored Feb 12, 2025
2 parents 2f5defb + a81349d commit 5f5242e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion collect/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ var inMemCollectorMetrics = []metrics.Metadata{
{Name: TraceSendEjectedMemsize, Type: metrics.Counter, Unit: metrics.Dimensionless, Description: "number of traces that are ready for decision due to memory overrun"},
{Name: TraceSendLateSpan, Type: metrics.Counter, Unit: metrics.Dimensionless, Description: "number of spans that are sent due to late span arrival"},

{Name: "dropped_from_stress", Type: metrics.Counter, Unit: metrics.Dimensionless, Description: "number of traces dropped due to stress relief"},
{Name: "dropped_from_stress", Type: metrics.Counter, Unit: metrics.Dimensionless, Description: "number of spans dropped due to stress relief"},
{Name: "trace_kept_sample_rate", Type: metrics.Histogram, Unit: metrics.Dimensionless, Description: "sample rate of kept traces"},
{Name: "trace_aggregate_sample_rate", Type: metrics.Histogram, Unit: metrics.Dimensionless, Description: "aggregate sample rate of both kept and dropped traces"},
{Name: "collector_redistribute_traces_duration_ms", Type: metrics.Histogram, Unit: metrics.Milliseconds, Description: "duration of redistributing traces to peers"},
Expand Down
2 changes: 1 addition & 1 deletion metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ This table includes metrics with fully defined names.
| trace_send_ejected_full | Counter | Dimensionless | number of traces that are ready for decision due to cache capacity overrun |
| trace_send_ejected_memsize | Counter | Dimensionless | number of traces that are ready for decision due to memory overrun |
| trace_send_late_span | Counter | Dimensionless | number of spans that are sent due to late span arrival |
| dropped_from_stress | Counter | Dimensionless | number of traces dropped due to stress relief |
| dropped_from_stress | Counter | Dimensionless | number of spans dropped due to stress relief |
| trace_kept_sample_rate | Histogram | Dimensionless | sample rate of kept traces |
| 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 |
Expand Down
2 changes: 1 addition & 1 deletion tools/convert/metricsMeta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ complete:
- name: dropped_from_stress
type: Counter
unit: Dimensionless
description: number of traces dropped due to stress relief
description: number of spans dropped due to stress relief
- name: trace_kept_sample_rate
type: Histogram
unit: Dimensionless
Expand Down

0 comments on commit 5f5242e

Please sign in to comment.