Filtering Metrics With the observIQ Distro for OpenTelemetry Collector
In this tutorial, we will address the common monitoring use case of filtering metrics within observIQ’s distribution of the OpenTelemetry (OTEL) collector. Whether the metrics are deemed unnecessary, or they are filtered for security concerns, the process is fairly straightforward.
For our sample environment, we will use MySQL on Red Hat Enterprise Linux 8. The destination exporter will be to Google Cloud Operations, but the process is exporter agnostic. We are using this exporter to provide the visual charts showing the metric before and after filtering.
Environment Prerequisites
- Suitable operating system
- observIQ Distro for OTEL Collector installed
- MySQL installed
- MySQL Least Privilege User (LPU) setup
mysql:
endpoint: localhost:3306
username: otel
password: otelPassword
collection_interval: 60s
mysql.buffer_pool.limit:
enabled: true
description: The configured size of the InnoDB buffer pool.
unit: By
sum:
value_type: int
input_type: string
monotonic: false
aggregation: cumulative