Skip to content

Enabling Tempo

Introduction

Tempo is a distributed tracing backend designed to ingest and store traces efficiently without requiring indexing. It allows developers to troubleshoot and analyze request flows across microservices. It stores traces in an efficient manner, reducing infrastructure and operational costs. Also, it is designed to handle high volumes of trace data with minimal overhead.

Prerequisites

Ensure that the following prerequisites are met.

  1. You will need a S3 bucket to save the log traces.
  2. Your Node IAM role should have permission to access the S3 bucket.

Process

To enable Tempo in the Privacera monitoring stack, follow the steps below.

  1. SSH into the instance where Privacera Manager is installed.
  2. Navigate to the config directory using the following command:
    Bash
    cd ~/privacera/privacera-manager/config/
    
  3. Copy vars.monioring.yml file from sample-vars folder to custom-vars folder.

    If this file already exists in custom-vars folder then you can skip this step.

    Bash
    cp sample-vars/vars.monitoring.yml custom-vars/
    
  4. Open vars.monioring.yml.

    Bash
    vi custom-vars/vars.monitoring.yml
    

  5. Uncomment the below variables in the file and save it.

    • Provide the S3 buckte name.
      Bash
      MONITORING_S3_BUCKET_NAME: "<YOUR_S3_BUCKET_NAME>"
      
    • Enable Tempo.
      Bash
      TEMPO_DEPLOYMENT_ENABLED: "true"
      
  6. Once done, redeploy the monitoring components.

    a. Go to privacera-manager directory.

    Bash
    cd ~/privacera/privacera-manager.
    
    b. Run setup to generate the required files.
    Bash
    ./privacera-manager.sh setup
    
    c. Install the monitoring components.
    Bash
    ./pm_with_helm.sh install-monitoring
    
    d. Once done, run post-install.
    Bash
    ./privacera-manager.sh post-install
    

Comments