Skip to content

Commit d0c992e

Browse files
committed
update information about container networking metrics
only available in OS currently
1 parent 263ee8a commit d0c992e

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

container-metrics.html.md.erb

+20-2
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,30 @@ The following table describes all Diego container metrics:
7171
</tr>
7272
</tr><tr>
7373
<td><code>rx_bytes</code></td>
74-
<td>Received network traffic in bytes for an app instance.</td>
74+
<td>
75+
Received network traffic in bytes for an app instance.
76+
<% if vars.platform_code = 'CF' %>
77+
Operators can enable this metric by setting garden-runc-release's
78+
<code>garden.enable_container_network_metrics</code> bosh
79+
property to <code>true</code>.
80+
<% else %>
81+
This metric is not available in Tanzu Platform for Cloud Foundry.
82+
<% end %>
83+
</td>
7584
<td><code>uint64</code></td>
7685
</tr>
7786
</tr><tr>
7887
<td><code>tx_bytes</code></td>
79-
<td>Transmitted network traffic in bytes for an app instance.</td>
88+
<td>
89+
Transmitted network traffic in bytes for an app instance.
90+
<% if vars.platform_code = 'CF' %>
91+
Operators can enable this metric by setting garden-runc-release's
92+
<code>garden.enable_container_network_metrics</code> bosh
93+
property to <code>true</code>.
94+
<% else %>
95+
This metric is not available in Tanzu Platform for Cloud Foundry.
96+
<% end %>
97+
</td>
8098
<td><code>uint64</code></td>
8199
</tr>
82100
</table>

0 commit comments

Comments
 (0)