Observability

Observability Stack Overview

Our observability infrastructure comprises various tools designed to capture and analyze telemetry data, ensuring the health and performance of our systems. The stack is structured around three primary data types: traces, logs, and metrics.

Metrics

Metrics collection utilizes the Otel Collector along with a suite of exporters included within our Platform Data Collection (PDC) framework. This includes tools like the Node Exporter, MongoDB Exporter, and cAdvisor, among others. Together, they provide a comprehensive view of our system's performance and usage statistics.

Traces

For tracing, we employ the OpenTelemetry (Otel) Collector, which facilitates capturing and managing trace data across our distributed systems. This component is key for understanding request lifecycles and inter-service dependencies.

Logs

Log aggregation and management are handled by Fluent Bit. This lightweight data processor is part of our future work plans to enhance log analysis and storage capabilities. Stay tuned for updates in this area.

Observability

cAdvisor (short for container Advisor) analyzes and exposes resource usage and performance data from running containers. cAdvisor exposes Prometheus metrics out of the box.

cAdvisor is not enabled by default.

To enable cAdvisor:

  1. Navigate to deployment folder:

cd
cd /opt/pentaho/pdc-docker-deployment/vendor
sudo nano docker-compose.mom.yml
  1. Scroll down to the mon-cadvisor: section

  2. Uncomment all the lines:

Uncomment cAdvisor
  1. Save.

CTRL + o
ENTER
CTRL + x

Note the profile: mon_enhanced


Enable the OTEL collector to scrap the logs.

  1. Navigate to deployment folder:

cd
cd /opt/pentaho/pdc-docker-deployment/vendor/mon/otel_col
sudo nano otelcol-config.yml
  1. Uncomment cadvisor.

Enable Prometheus to scrap
  1. Save.

CTRL + o
ENTER
CTRL + x

COMPOSE_PROFILES

Ensure the profile has been enabled

  1. Navigate to deployment folder:

cd
cd /opt/pentaho/pdc-docker-deployment/vendor
sudo nano .env.default
  1. Add mon_enhanced

add mon_enhanced
  1. Save.

CTRL + o
ENTER
CTRL + x
  1. You will need to restart PDC to deploy the cAdvisor container.

cd
cd /opt/pentaho/pdc-docker-deployment
./pdc.sh restart
  1. Check cAdvisor container is up and running.

docker ps -n 1
Restart PDC

Last updated