-
telemetry.otel_exporter_otlp_metrics_protocolSystem Variable telemetry.otel_exporter_otlp_metrics_protocolScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 枚举 Default Value http/protobufValid Values http/protobufhttp/jsonOLTP 传输协议。
NoteMySQL 不支持
gprc协议。 -
telemetry.otel_exporter_otlp_metrics_endpointSystem Variable telemetry.otel_exporter_otlp_metrics_endpointScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value http://localhost:4318/v1/metrics指标信号发送到的端点。
-
telemetry.otel_exporter_otlp_metrics_certificatesSystem Variable telemetry.otel_exporter_otlp_metrics_certificatesScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]用于验证服务器 TLS 凭证的受信任证书。
-
telemetry.otel_exporter_otlp_metrics_client_keySystem Variable telemetry.otel_exporter_otlp_metrics_client_keyScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]客户端私钥 PEM 格式。
-
telemetry.otel_exporter_otlp_metrics_client_certificatesSystem Variable telemetry.otel_exporter_otlp_metrics_client_certificatesScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]客户端证书/链信任客户端私钥 PEM 格式。
-
telemetry.otel_exporter_otlp_metrics_min_tlsSystem Variable telemetry.otel_exporter_otlp_metrics_min_tlsScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 枚举 Default Value [none]Valid Values [none]1.21.3用于指标的最小 TLS 版本。
-
telemetry.otel_exporter_otlp_metrics_max_tlsSystem Variable 遥测.otel_exporter_otlp_metrics_max_tlsScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 枚举 Default Value [none]Valid Values [none]1.21.3用于指标的最大 TLS 版本。
-
遥测.otel_exporter_otlp_metrics_cipherSystem Variable 遥测.otel_exporter_otlp_metrics_cipherScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]用于指标的 TLS 密码(TLS 1.2)。
-
遥测.otel_exporter_otlp_metrics_cipher_suiteSystem Variable 遥测.otel_exporter_otlp_metrics_cipher_suiteScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]用于指标的 TLS 密码(TLS 1.3)。
-
遥测.otel_exporter_otlp_metrics_headersSystem Variable 遥测.otel_exporter_otlp_metrics_headersScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value [none]与 HTTP 请求关联的键值对头。
-
遥测.otel_exporter_otlp_metrics_compressionSystem Variable 遥测.otel_exporter_otlp_metrics_compressionScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 字符串 Default Value none (无压缩)Valid Values none (无压缩)gzipExporter 使用的压缩方式。
-
遥测.otel_exporter_otlp_metrics_timeoutSystem Variable 遥测.otel_exporter_otlp_metrics_timeoutScope 全局 Dynamic 否 SET_VARHint Applies否 Platform Specific Linux Type 整数 Default Value 10000Unit 毫秒 Exporter 等待每批次导出所需的时间(毫秒)。
-
Status Variable 遥测.metrics_reader_frequency_1Scope 全局 Dynamic 否 Type 整数 Default Value 10Unit 秒 强制性。定义了米表评估的间隔(秒),用于频率小于或等于该间隔的米表。例如:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1 -
Status Variable 遥测.metrics_reader_frequency_1Scope 全局 Dynamic 否 Type 整数 Default Value 10Unit 秒 可选。定义了米表评估的间隔(秒),用于频率大于该间隔的米表。例如,如果 f1 和 f2 被定义:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1然后,每 f2 秒:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 AND FREQUENCY <= metrics_reader_frequency_2; -
Status Variable 遥测指标读取器频率1Scope 全局 Dynamic 否 Type 整数 Default Value 10Unit 秒 可选。定义了米表评估之间的间隔秒数(f3),用于频率大于间隔的米表。例如,如果f1、f2和f3被定义:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1然后,每f2秒:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 AND FREQUENCY <= metrics_reader_frequency_2;然后,每f3秒:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_2;