Enable Ranger Metrics¶
Overview¶
Apache Ranger provides metrics to monitor the performance and health of the Ranger Admin service. These metrics offer valuable insights into the service's usage and performance, helping you proactively identify and troubleshoot issues.
Enable/Disable Metrics¶
Follow these steps to enable/disable Ranger metrics:
- SSH into the instance where Privacera Manager is installed.
- Navigate to the
privacera-manager
directory using the following command:Bash - Run the following command to copy the sample vars. The -n flag ensures that the file is not overwritten if it already exists:
Bash - Run the following command to open the
.yml
file for editing.Bash - Add or update the following property:
Variable | Definition |
---|---|
RANGER_PROMETHEUS_METRICS_ENABLED | Enables metrics from ranger. Default is true |
RANGER_PROMETHEUS_HTTP_METRICS_ENABLED | Enables metrics related to HTTP calls. Default is true |
YAML | |
---|---|
- Prev topic: Apache Ranger Admin