Skip to content

Enable metrics for Apache Spark OLAC

Prerequisite

Make sure Privacera Monitoring is setup and OpenTelemetry Collector is configured before enabling metrics.

Refer Privacera Monitoring for more details.

  1. Navigate to the ~/privacera/privacera-manager/config/custom-vars folder and edit the vars.spark-standalone.yml file.

    Bash
    cd ~/privacera/privacera-manager/config/custom-vars
    vi vars.spark-standalone.yml
    

  2. Add below content and save the vars.spark-standalone.yml file to enable metrics.

    Bash
    STANDALONE_SPARK_PLUGIN_METRICS_ENABLE: "true"
    STANDALONE_SPARK_PLUGIN_METRICS_JVM_ENABLE: "true"
    

  3. Run the following commands to update your Privacera Manager Platform instance with the update property

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh post-install
    

  4. Once the post-install process is complete, proceed with the steps given in Setup for Access Management for Apache Spark