이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 8. Virtual database monitoring


Prometheus is an open-source systems and service monitoring and alerting toolkit that you can use to monitor services deployed in your Red Hat OpenShift environment. Prometheus collects and stores metrics from configured services at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if a specified condition becomes true.

Important

Red Hat support for Prometheus is limited to the setup and configuration recommendations provided in Red Hat product documentation.

Prometheus communicates with the data virtualization service to retrieve metrics and data. Users can query the data, or use a visualization took such as Grafana to view trends in a dashboard.

To enable monitoring of an OpenShift service, the service must expose an endpoint to Prometheus. This endpoint is an HTTP interface that provides a list of metrics and the current values of the metrics. When you use the Data Virtualization Operator to create a virtual database, the data virtualization service automatically exposes an HTTP endpoint to Prometheus. Prometheus periodically scrapes each target-defined endpoint and writes the collected data to its database.

After Prometheus is deployed to an OpenShift cluster, the metrics for any virtualization that you deploy to the same cluster are exposed to the Prometheus service automatically.

The following tables list the runtime and cache metrics that the data virtualization service exposes to Prometheus:

Table 8.1. Data virtualization runtime metrics exposed to Prometheus
NameDescriptionType

org.teiid.TotalRequestsProcessed

Total requests processed

Counter

org.teiid.WaitingRequestsCount

Requests queued for processing

Gauge

org.teiid.ActiveEngineThreadCount

Number of current engine threads

Gauge

org.teiid.QueuedEngineWorkItems

Number of queued work items

Gauge

org.teiid.LongRunningRequestCount

Number of long-running requests

Gauge

org.teiid.TotalOutOfDiskErrors

Total buffer out-of-disk errors

Counter

org.teiid.PercentBufferDiskSpaceInUse

Percent buffer disk space in use

Gauge

org.teiid.SessionCount

Number of client sessions

Gauge

org.teiid.DiskSpaceUsedInMB

Disk space used (MB)

Gauge

org.teiid.ActiveRequestCount

Active requests

Gauge

Table 8.2. Data virtualization cache metrics exposed to Prometheus
NameDescriptionType

org.teiid.CacheRequestCount

Number of cache reads

Gauge

org.teiid.CacheTotalEntries

Number of cache entries

Gauge

org.teiid.CacheHitRatio

Ratio of cache hits to total attempts

Gauge

For more information about deploying Prometheus to monitor services on OpenShift, see the OpenShift documentation.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.