mirror of https://github.com/istio/istio.io.git
Automator: update istio.io@ reference docs (#10872)
This commit is contained in:
parent
175cc65594
commit
85c61df509
|
@ -2612,6 +2612,11 @@ calculated over a time interval of 1 minute.
|
|||
<td>The name of the kubeconfig context to use (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--duration <duration></code></td>
|
||||
<td><code>-d</code></td>
|
||||
<td>Duration of query metrics, default value is 1m. (default `1m0s`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--istioNamespace <string></code></td>
|
||||
<td><code>-i</code></td>
|
||||
<td>Istio system namespace (default `istio-system`)</td>
|
||||
|
@ -2637,6 +2642,9 @@ calculated over a time interval of 1 minute.
|
|||
<pre class="language-bash"><code> # Retrieve workload metrics for productpage-v1 workload
|
||||
istioctl experimental metrics productpage-v1
|
||||
|
||||
# Retrieve workload metrics for various services with custom duration
|
||||
istioctl experimental metrics productpage-v1 -d 2m
|
||||
|
||||
# Retrieve workload metrics for various services in the different namespaces
|
||||
istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz
|
||||
</code></pre>
|
||||
|
|
Loading…
Reference in New Issue