Skip to content

Commit

Permalink
add additional translog properties as per elastic/elasticsearch#28613
Browse files Browse the repository at this point in the history
…and add properties we weren't mapping
  • Loading branch information
Mpdreamz committed Aug 12, 2018
1 parent 67eb409 commit c72508d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/Nest/CommonOptions/Stats/TranslogStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,23 @@ public class TranslogStats
[JsonProperty("operations")]
public long Operations { get; set; }

[JsonProperty("uncommitted_operations")]
public long UncommittedOperations { get; set; }

[JsonProperty("size")]
public string Size { get; set; }

[JsonProperty("size_in_bytes")]
public long SizeInBytes { get; set; }

[JsonProperty("uncommitted_size")]
public string UncommittedSize { get; set; }

[JsonProperty("uncommitted_size_in_bytes")]
public long UncommittedSizeInBytes { get; set; }

[JsonProperty("earliest_last_modified_age")]
public long EarliestLastModifiedAge { get; set; }

}
}
}

0 comments on commit c72508d

Please sign in to comment.