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

Chapter 12. Using Metering on AMQ Streams


You can use the Metering tool that is available on OpenShift to generate metering reports from different data sources. As a cluster administrator, you can use metering to analyze what is happening in your cluster. You can either write your own, or use predefined SQL queries to define how you want to process data from the different data sources you have available. Using Prometheus as a default data source, you can generate reports on pods, namespaces, and most other Kubernetes resources.

You can also use the OpenShift Metering operator to analyze your installed AMQ Streams components to determine whether you are in compliance with your Red Hat subscription.

To use metering with AMQ Streams, you must first install and configure the Metering operator on OpenShift Container Platform.

12.1. Metering resources

Metering has many resources which can be used to manage the deployment and installation of metering, as well as the reporting functionality metering provides. Metering is managed using the following CRDs:

Table 12.1. Metering resources
NameDescription

MeteringConfig

Configures the metering stack for deployment. Contains customizations and configuration options to control each component that makes up the metering stack.

Reports

Controls what query to use, when, and how often the query should be run, and where to store the results.

ReportQueries

Contains the SQL queries used to perform analysis on the data contained within ReportDataSources.

ReportDataSources

Controls the data available to ReportQueries and Reports. Allows configuring access to different databases for use within metering.

12.2. Metering labels for AMQ Streams

The following table lists the metering labels for AMQ Streams infrastructure components and integrations.

Table 12.2. Metering Labels
LabelPossible values

com.company

Red_Hat

rht.prod_name

Red_Hat_Integration

rht.prod_ver

2022.Q2

rht.comp

AMQ_Streams

rht.comp_ver

2.1

rht.subcomp

Infrastructure

cluster-operator

entity-operator

zookeeper

Application

kafka-broker

kafka-connect

kafka-connect-build

kafka-mirror-maker2

kafka-mirror-maker

cruise-control

kafka-bridge

kafka-exporter

drain-cleaner

rht.subcomp_t

infrastructure

application

Examples

  • Infrastructure example (where the infrastructure component is entity-operator)

    com.company=Red_Hat
    rht.prod_name=Red_Hat_Integration
    rht.prod_ver=2022.Q2
    rht.comp=AMQ_Streams
    rht.comp_ver=2.1
    rht.subcomp=entity-operator
    rht.comp_t=infrastructure
  • Application example (where the integration deployment name is kafka-bridge)

    com.company=Red_Hat
    rht.prod_name=Red_Hat_Integration
    rht.prod_ver=2022.Q2
    rht.comp=AMQ_Streams
    rht.comp_ver=2.1
    rht.subcomp=kafka-bridge
    rht.comp_t=application
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

© 2024 Red Hat, Inc.