Observability(可观察性)
第 1 章 构建控制器可观察性 复制链接链接已复制到粘贴板!
构建会公开几个指标,以帮助您监控构建资源的性能和操作。构建控制器指标在端口 8383
上公开。
1.1. 构建控制器指标 复制链接链接已复制到粘贴板!
您可以检查以下构建控制器指标来监控目的:
Name | 类型 | 描述 | 标签 | Status |
---|---|---|---|---|
| 计数 | 注册构建总数。 |
| 实验性 |
| 计数 | 完成的构建运行总数。 |
| 实验性 |
| Histogram | 构建运行建立持续时间(以秒为单位)。 |
| 实验性 |
| Histogram | 构建运行完成持续时间(以秒为单位)。 |
| 实验性 |
| Histogram | 构建运行通道持续时间(以秒为单位)。 |
| 实验性 |
| Histogram | 任务运行的构建运行期限(以秒为单位)。 |
| 实验性 |
| Histogram | 任务运行 pod 的构建运行期限(以秒为单位)。 |
| 实验性 |
1.1.1. 直方图指标 复制链接链接已复制到粘贴板!
要将自定义存储桶用于构建控制器,您必须为特定的直方图指标设置环境变量。下表显示了所有直方图指标的环境变量:
指标 | 环境变量 | default |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Legal Notice
复制链接链接已复制到粘贴板!
Copyright © 2025 Red Hat
OpenShift documentation is licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0).
Modified versions must remove all Red Hat trademarks.
Portions adapted from https://github.com/kubernetes-incubator/service-catalog/ with modifications by Red Hat.
Red Hat, Red Hat Enterprise Linux, the Red Hat logo, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation’s permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.