Commit 3dfaab2
Bob Strahan
fix: Round Lambda GB-seconds to 2 decimal places
- Update calculate_lambda_metering function to round gb_seconds output
- Convert from raw calculation (e.g., 25.66893196105957) to rounded (25.67)
- Improves readability and consistency in cost reporting
- Maintains precision while reducing noise in metering data
Example output change:
Before: gb_seconds: 0.756893196
After: gb_seconds: 0.76
This provides cleaner cost analytics while preserving accuracy for billing.1 parent 4b26942 commit 3dfaab2
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | | - | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments