Skip to content

Commit 5136f05

Browse files
committed
fix: Add trailing comma to EventType enum for better compatibility
1 parent 8316a20 commit 5136f05

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/metrics/DumperRunMetrics.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class DumperRunMetrics implements TelemetryPayload {
2727
@JsonProperty private String id;
2828

2929
@JsonProperty private ZonedDateTime measureStartTime;
30+
31+
@JsonProperty private EventType eventType = EventType.DUMPER_RUN_METRICS;
3032

3133
@JsonProperty private Long runDurationInMinutes;
3234

dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/metrics/EventType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
package com.google.edwmigration.dumper.application.dumper.metrics;
1818

1919
public enum EventType {
20-
DUMPER_RUN_METRICS
20+
DUMPER_RUN_METRICS,
21+
TASK_RUN_METRICS,
2122
}

0 commit comments

Comments
 (0)