Skip to content

Commit 8316a20

Browse files
committed
added taskType
1 parent 6e8bdac commit 8316a20

File tree

1 file changed

+4
-2
lines changed
  • dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/metrics

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public class TaskRunMetrics implements TelemetryPayload {
2626

2727
@JsonProperty private String name;
2828

29+
@JsonProperty private EventType eventType = EventType.TASK_RUN_METRICS;
30+
2931
@JsonProperty private String overallStatus;
3032

3133
@JsonProperty private Instant measureStartInstance;
@@ -51,8 +53,8 @@ public TaskRunMetrics(
5153
this.error = error;
5254
}
5355

54-
public String getId() {
55-
return name;
56+
public EventType getEventType() {
57+
return eventType;
5658
}
5759

5860
public String getName() {

0 commit comments

Comments
 (0)