Skip to content

Commit

Permalink
Fix total memory ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 committed Oct 18, 2024
1 parent 6409b73 commit 9308c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observability/metrics/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewSystemMetrics(meter metric.Meter, opts metric.MeasurementOption) (*Syste
return nil, err
}
totalMemoryGauge, err := meter.Int64ObservableGauge(
"relayer.FreeMemoryBytes",
"relayer.TotalMemoryBytes",
metric.WithInt64Callback(func(context context.Context, result metric.Int64Observer) error {
v, err := mem.VirtualMemory()
if err != nil {
Expand Down

0 comments on commit 9308c62

Please sign in to comment.