Skip to content

Commit c960d72

Browse files
authored
20: fix typo in GC attribute naming (#21)
1 parent 63208c3 commit c960d72

File tree

1 file changed

+2
-2
lines changed
  • src/opentelemetry/instrumentation/crystal

1 file changed

+2
-2
lines changed

src/opentelemetry/instrumentation/crystal/gc.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require "../instrument"
4444
# - Full Stats:
4545
#
4646
# - gc.bytes_before_gc
47-
# - gc.bytes_reclaimed_sinc_gc
47+
# - gc.bytes_reclaimed_since_gc
4848
# - gc.bytes_since_gc
4949
# - gc.free_bytes
5050
# - gc.gc_no
@@ -97,7 +97,7 @@ unless_enabled?("OTEL_CRYSTAL_DISABLE_INSTRUMENTATION_GC") do
9797
else
9898
stats = GC.prof_stats
9999
span["gc.bytes_before_gc"] = stats.bytes_before_gc
100-
span["gc.bytes_reclaimed_sinc_gc"] = stats.bytes_reclaimed_since_gc
100+
span["gc.bytes_reclaimed_since_gc"] = stats.bytes_reclaimed_since_gc
101101
span["gc.bytes_since_gc"] = stats.bytes_since_gc
102102
span["gc.free_bytes"] = stats.free_bytes
103103
span["gc.gc_no"] = stats.gc_no

0 commit comments

Comments
 (0)