Skip to content

Commit

Permalink
use proper method to set value of meteric
Browse files Browse the repository at this point in the history
Issue: BB-600
  • Loading branch information
Kerkesni committed Aug 20, 2024
1 parent e63e09b commit a721834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/lifecycle/LifecycleMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class LifecycleMetrics {
[LIFECYCLE_LABEL_LOCATION]: location,
}, durationMs / 1000);

lifecycleLastTimestamp.observe({
lifecycleLastTimestamp.set({
[LIFECYCLE_LABEL_TYPE]: type,
[LIFECYCLE_LABEL_LOCATION]: location,
}, new Date().getTime());
Expand Down

0 comments on commit a721834

Please sign in to comment.