-
System Variable telemetry.metrics_enabledScope Global Dynamic No SET_VARHint AppliesNo Type Boolean Default Value ONControls whether telemetry metrics are collected or not.
telemetry.otel_exporter_otlp_metrics_protocolSystem Variable telemetry.otel_exporter_otlp_metrics_protocolScope Global Dynamic No SET_VARHint AppliesNo Type Enumeration Default Value http/protobufValid Values http/protobufhttp/jsonThe OLTP transport protocol.
NoteMySQL does not support the
gprcprotocol.telemetry.otel_exporter_otlp_metrics_endpointSystem Variable telemetry.otel_exporter_otlp_metrics_endpointScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value http://localhost:4318/v1/metricsEndpoint metric signals are sent to.
telemetry.otel_exporter_otlp_metrics_certificatesSystem Variable telemetry.otel_exporter_otlp_metrics_certificatesScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]The trusted certificate to use when verifying a server's TLS credentials.
telemetry.otel_exporter_otlp_metrics_client_keySystem Variable telemetry.otel_exporter_otlp_metrics_client_keyScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]Client's private key in PEM format.
telemetry.otel_exporter_otlp_metrics_client_certificatesSystem Variable telemetry.otel_exporter_otlp_metrics_client_certificatesScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]Client certificate/chain trust for clients private key in PEM format.
telemetry.otel_exporter_otlp_metrics_min_tlsSystem Variable telemetry.otel_exporter_otlp_metrics_min_tlsScope Global Dynamic No SET_VARHint AppliesNo Type Enumeration Default Value [none]Valid Values [none]1.21.3Minimum TLS version to use for metrics.
telemetry.otel_exporter_otlp_metrics_max_tlsSystem Variable telemetry.otel_exporter_otlp_metrics_max_tlsScope Global Dynamic No SET_VARHint AppliesNo Type Enumeration Default Value [none]Valid Values [none]1.21.3Maximum TLS version to use for metrics.
telemetry.otel_exporter_otlp_metrics_cipherSystem Variable telemetry.otel_exporter_otlp_metrics_cipherScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]TLS cipher to use for metrics (TLS 1.2).
telemetry.otel_exporter_otlp_metrics_cipher_suiteSystem Variable telemetry.otel_exporter_otlp_metrics_cipher_suiteScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]TLS cipher to use for metrics (TLS 1.3).
telemetry.otel_exporter_otlp_metrics_headersSystem Variable telemetry.otel_exporter_otlp_metrics_headersScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value [none]Key-value pairs to be used as headers associated with HTTP requests.
telemetry.otel_exporter_otlp_metrics_compressionSystem Variable telemetry.otel_exporter_otlp_metrics_compressionScope Global Dynamic No SET_VARHint AppliesNo Type String Default Value none (no compression)Valid Values none (no compression)gzipCompression used by exporter
telemetry.otel_exporter_otlp_metrics_timeoutSystem Variable telemetry.otel_exporter_otlp_metrics_timeoutScope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 10000Unit milliseconds Time in milliseconds the OLTP exporter waits for each batch export.
telemetry.metrics_reader_frequency_1System Variable telemetry.metrics_reader_frequency_1Scope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 10Unit seconds Mandatory. Defines the interval in seconds (f1) between meter evaluations for meters with a frequency less than or equal to the interval, f1. For example:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1telemetry.metrics_reader_frequency_2System Variable telemetry.metrics_reader_frequency_2Scope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 10Unit seconds Optional. Defines the interval in seconds (f2) between meter evaluations for meters with a frequency greater than the interval, f1. For example, if f1 and f2 are defined:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1and, every f2 seconds:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 AND FREQUENCY <= metrics_reader_frequency_2;telemetry.metrics_reader_frequency_3System Variable telemetry.metrics_reader_frequency_3Scope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 10Unit seconds Optional. Defines the interval in seconds (f3) between meter evaluations for meters with a frequency greater than the interval, f2. For example, if f1, f2, and f3 are defined:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY <= telemetry.metrics_reader_frequency_1and, every f2 seconds:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_1 AND FREQUENCY <= metrics_reader_frequency_2;and, every f3 seconds:
SELECT * from performance_schema.setup_meters WHERE FREQUENCY > telemetry.metrics_reader_frequency_2;