diff --git a/content/zh/docs/ops/ambient/getting-started/index.md b/content/zh/docs/ops/ambient/getting-started/index.md index 2dd78e8b99..6387af41e7 100644 --- a/content/zh/docs/ops/ambient/getting-started/index.md +++ b/content/zh/docs/ops/ambient/getting-started/index.md @@ -110,7 +110,7 @@ $ istioctl install --set profile=ambient --skip-confirmation {{< /tabset >}} -5) 使用以下命令确认已安装的组件: +6) 使用以下命令确认已安装的组件: {{< tabset category-name="config-api" >}} diff --git a/content/zh/docs/ops/integrations/grafana/index.md b/content/zh/docs/ops/integrations/grafana/index.md index 93b3483b0c..36eadc0413 100644 --- a/content/zh/docs/ops/integrations/grafana/index.md +++ b/content/zh/docs/ops/integrations/grafana/index.md @@ -54,7 +54,7 @@ $ # The version of Istio to deploy $ VERSION={{< istio_full_version >}} $ # Import all Istio dashboards $ for DASHBOARD in 7639 11829 7636 7630 7645 13277; do -$ REVISION="$(curl -s https://grafana.com/api/dashboards/${DASHBOARD}/revisions -s | jq ".items[] | select(.description | contains(\"${VERSION}$\")) | .revision")" +$ REVISION="$(curl -s https://grafana.com/api/dashboards/${DASHBOARD}/revisions -s | jq ".items[] | select(.description | contains(\"${VERSION}\")) | .revision" | tail -n 1)" $ curl -s https://grafana.com/api/dashboards/${DASHBOARD}/revisions/${REVISION}/download > /tmp/dashboard.json $ echo "Importing $(cat /tmp/dashboard.json | jq -r '.title') (revision ${REVISION}, id ${DASHBOARD})..." $ curl -s -k -u "$GRAFANA_CRED" -XPOST \ diff --git a/content/zh/docs/tasks/observability/logs/telemetry-api/index.md b/content/zh/docs/tasks/observability/logs/telemetry-api/index.md index 4b2b6d08b3..e2e9d97136 100644 --- a/content/zh/docs/tasks/observability/logs/telemetry-api/index.md +++ b/content/zh/docs/tasks/observability/logs/telemetry-api/index.md @@ -110,6 +110,11 @@ $ kubectl apply -f @samples/open-telemetry/loki/otel.yaml@ -n istio-system EOF {{< /text >}} + {{< tip >}} + 当连接失败时没有 `response.code` 属性。 + 在这种情况下,您应该使用 CEL 表达式 `!has(response.code) || response.code >= 500`。 + {{< /tip >}} + 1. 通过 CEL 表达式设置默认的过滤访问日志 只有响应码大于等于 400 或请求转到 BlackHoleCluster 或 PassthroughCluster 时,