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.
-
Navigate to the
~/privacera/privacera-manager/config/custom-varsfolder and edit thevars.spark-standalone.ymlfile. -
Add below content and save the
vars.spark-standalone.ymlfile to enable metrics.Bash -
Run the following commands to update your Privacera Manager Platform instance with the update property
-
Once the post-install process is complete, proceed with the steps given in Setup for Access Management for Apache Spark
Add the keys under Custom Properties while configuring the connector. See Configure the Apache Spark OLAC connector.
| Key | Value |
|---|---|
privacera.spark.plugin.metrics.enable | true |
privacera.spark.plugin.metrics.jvm.enable | true |
privacera.spark.plugin.metrics.otel.exporter.enable | true |
otel.exporter.otlp.endpoint | OpenTelemetry Collector endpoint, for example http://otel.monitoring.svc.cluster.local:4318 |
- Prev topic: Advanced Configuration