Loading...
MySQL 9.5 Reference Manual 9.5의 35.4.1 Configuring Metrics Telemetry의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
이 섹션은 metric 텔레메트리를 구성하는 데 사용되는 시스템 변수를 나열합니다.
| Property | Value |
|---|---|
| System Variable | telemetry.metrics_enabled |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Boolean |
| Default Value | OFF |
telemetry metric을 수집할지 여부를 제어합니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_protocol |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Enumeration |
| Default Value | http/protobuf |
| Valid Values | http/protobuf<br>http/json |
OLTP 전송 프로토콜입니다.
참고
MySQL은 gprc protocol을 지원하지 않습니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_endpoint |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | empty |
metric 시그널이 전송되는 엔드포인트입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_network_namespace |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
(Linux 전용) metrics 엔드포인트로 데이터를 전송할 때 사용할 네트워크 네임스페이스입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_certificates |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
server의 TLS 자격 증명을 검증할 때 사용할 신뢰할 수 있는 인증서입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_client_key |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
클라이언트의 PEM 형식 개인 키입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_client_certificates |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
클라이언트 개인 키에 대한 PEM 형식의 클라이언트 인증서/체인 트러스트입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_min_tls |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Enumeration |
| Default Value | [none] |
| Valid Values | [none]<br>1.2<br>1.3 |
metrics에 사용할 최소 TLS 버전입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_max_tls |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Enumeration |
| Default Value | [none] |
| Valid Values | [none]<br>1.2<br>1.3 |
metrics에 사용할 최대 TLS 버전입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_cipher |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
metrics에 사용할 TLS 1.2 암호화 스위트의 현재 목록입니다. 현재 기본값은 다음과 같습니다:
1ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384: 2ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305: 3ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-CCM:ECDHE-ECDSA-AES128-CCM: 4DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-CCM: 5DHE-RSA-AES128-CCM:DHE-RSA-CHACHA20-POLY1305
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_cipher_suite |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
metrics에 사용할 TLS 1.3 암호화 스위트의 현재 목록입니다. 현재 기본값은 다음과 같습니다:
1TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_CCM_SHA256
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_headers |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
HTTP 요청과 연관된 헤더로 사용할 키-값 쌍입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_secret_headers |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | [none] |
metrics 헤더에 대한 민감한 데이터를 포함하는 시크릿의 이름입니다. 데이터 내용과 형식은 시스템 변수 telemetry.secret_provider와 함께 제공되는 시크릿 프로바이더 구현에 따라 달라집니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_compression |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | String |
| Default Value | none (no compression) |
| Valid Values | none (no compression)<br>gzip |
exporter가 사용하는 압축 방식입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.otel_exporter_otlp_metrics_timeout |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Integer |
| Default Value | 10000 |
| Unit | milliseconds |
OLTP exporter가 각 배치 내보내기를 위해 기다리는 시간(밀리초)입니다.
| Property | Value |
|---|---|
| System Variable | telemetry.metrics_reader_frequency_1 |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Integer |
| Default Value | 10 |
| Unit | seconds |
필수입니다. 미터의 빈도가 구간 f1 이하인 미터에 대해 미터 평가 사이의 간격(초 단위, f1)을 정의합니다. 예:
1SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1
| Property | Value |
|---|---|
| System Variable | telemetry.metrics_reader_frequency_2 |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Integer |
| Default Value | 10 |
| Unit | seconds |
선택 사항입니다. 빈도가 구간 f1보다 큰 미터에 대해 미터 평가 사이의 간격(초 단위, f2)을 정의합니다. 예를 들어, f1과 f2가 정의되어 있는 경우:
1SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1
그리고, 매 f2초마다:
1SELECT * from performance_schema.setup_meters 2 WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 3 AND FREQUENCY <= metrics_reader_frequency_2;
| Property | Value |
|---|---|
| System Variable | telemetry.metrics_reader_frequency_3 |
| Scope | Global |
| Dynamic | No |
SET_VAR Hint Applies | No |
| Type | Integer |
| Default Value | 10 |
| Unit | seconds |
선택 사항입니다. 빈도가 구간 f2보다 큰 미터에 대해 미터 평가 사이의 간격(초 단위, f3)을 정의합니다. 예를 들어, f1, f2, f3이 정의되어 있는 경우:
1SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1
그리고, 매 f2초마다:
1SELECT * from performance_schema.setup_meters 2 WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 3 AND FREQUENCY <= metrics_reader_frequency_2;
그리고, 매 f3초마다:
1SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_2;
35.4 OpenTelemetry Metrics
35.4.2 Server Meters