Configuring Histogram Timers for Connectors¶
This guide describes how to configure Histogram Timers for Privacera connectors. These properties allow you to enable percentile dashboards.
Configuration Steps¶
To configure histogram timers, add properties to the policysync-custom.properties file. Create the policysync-custom.properties file by following the instructions in Configure Custom Properties for Connectors.
1. Set default category for all Timer metrics¶
By default, the default category is set to empty. To enable histogram metrics, set the default category to sub-second. The other pre-defined categories are sub-minute and sub-hour.
2. Modify the buckets for sub-second histograms¶
The default buckets for various categories are -
| Text Only | |
|---|---|
You can override the category buckets as follows - example shows that we have overriden for the sub-second category. Similarly, you can create a new category and assign buckets to it. You can set this new category as the default for all Timer metrics or set to specific metrics.
Warning
Adding more buckets increases the number of time-series that are generated per Timer metric.
3. Override the buckets for a specific metric¶
You can override the buckets for a specific metric. In this example, the metric resource.load.time gets it's own set of custom buckets.
4. Override the category for a specific metric¶
You can override the bucket category for a specific metric. In this example, the metric full.sync.time is assigned the sub-hour bucket category.
5. Deploy Your Changes¶
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - (Optional) Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on. This step is not required if you are updating only connector properties.