Skip to content

Commit ed9fa50

Browse files
sarthak77Sarthak Singhal
andauthored
AVGRATE changes (#110)
* changed long to iso * merged main Co-authored-by: Sarthak Singhal <[email protected]>
1 parent ce318ae commit ed9fa50

File tree

1 file changed

+1
-1
lines changed
  • hypertrace-graphql-metric-schema/src/main/java/org/hypertrace/graphql/metric/request

1 file changed

+1
-1
lines changed

hypertrace-graphql-metric-schema/src/main/java/org/hypertrace/graphql/metric/request/MetricArguments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
public class MetricArguments {
77

88
public static List<Object> avgRateWithPeriod(Duration period) {
9-
return List.of(period.toSeconds());
9+
return List.of(period.toString());
1010
}
1111

1212
public static List<Object> percentileWithSize(int size) {

0 commit comments

Comments
 (0)