File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
cloudfoundry-client/src/main/java/org/cloudfoundry/doppler Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1616
1717package org .cloudfoundry .doppler ;
1818
19+ import org .cloudfoundry .Nullable ;
1920import org .immutables .value .Value ;
2021
2122import java .util .Objects ;
@@ -33,8 +34,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
3334 .applicationId (dropsonde .applicationId )
3435 .cpuPercentage (dropsonde .cpuPercentage )
3536 .diskBytes (dropsonde .diskBytes )
37+ .diskBytesQuota (dropsonde .diskBytesQuota )
3638 .instanceIndex (dropsonde .instanceIndex )
3739 .memoryBytes (dropsonde .memoryBytes )
40+ .memoryBytesQuota (dropsonde .memoryBytesQuota )
3841 .build ();
3942 }
4043
@@ -53,6 +56,12 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
5356 */
5457 abstract Long getDiskBytes ();
5558
59+ /**
60+ * The maximum bytes of disk allocated to container
61+ */
62+ @ Nullable
63+ abstract Long getDiskBytesQuota ();
64+
5665 /**
5766 * The instance index of the contained application. (This, with applicationId, should uniquely identify a container.)
5867 */
@@ -63,4 +72,10 @@ public static ContainerMetric from(org.cloudfoundry.dropsonde.events.ContainerMe
6372 */
6473 abstract Long getMemoryBytes ();
6574
75+ /**
76+ * The maximum bytes of memory allocated to container
77+ */
78+ @ Nullable
79+ abstract Long getMemoryBytesQuota ();
80+
6681}
You can’t perform that action at this time.
0 commit comments