Skip to main content
logoTetrate Agent Operations DirectorVersion: Latest

Monitoring Guardrails Analytics

The Analytics interface in Guardrail Studio provides critical insights into your guardrails' performance and impact. This guide explains how to effectively monitor and analyze guardrail metrics.

Understanding Guardrail Analytics

Guardrail analytics help you:

  • Monitor detection rates and trends over time
  • Identify patterns in guardrail violations
  • Measure performance impact of guardrails
  • Track false positive rates
  • Make data-driven decisions for guardrail refinements

Accessing Analytics

To access guardrail analytics:

  1. Navigate to the Guardrail Studio section
  2. Select a guardrail to view its specific analytics
  3. Click on the Analytics tab

Guardrail Analytics Interface

Key Performance Metrics

The analytics dashboard displays several important metrics:

1. Total Triggers

The number of times a guardrail has been triggered within the selected time period.

2. False Positives

The number of identified false positives reported by users or detected through analysis.

3. Detection Rate

The percentage of requests that triggered the guardrail relative to total processed requests.

4. Average Response Time

The impact on request processing time when the guardrail is applied.

The Detection Trend chart shows the pattern of guardrail triggers over time:

  1. Use the Time Range selector to view different time periods
  2. Analyze the trend line to identify spikes or patterns
  3. Correlate spikes with known events or changes in your environment

Sudden increases may indicate:

  • New attack patterns
  • Changes in legitimate usage patterns
  • Recent guardrail configuration changes
  • False positive issues requiring attention

Rule Performance Analysis

The Rule Performance section breaks down metrics by individual detection rules:

  • Triggers: How often each rule is triggered
  • FP%: The false positive rate for each rule
  • Rule Distribution: Visual representation of which rules are most active

Use this information to identify:

  • Rules that may need refinement due to high false positive rates
  • Rules that rarely trigger and might need broader patterns
  • The most frequently triggered rules for prioritizing optimization

Exporting Analytics Data

To share or further analyze guardrail metrics:

  1. Click the Export button in the Analytics tab
  2. Select the format (CSV, JSON, etc.)
  3. Choose the time range for the exported data

This data can be used for compliance reporting, deeper analysis, or integration with other monitoring systems.

Best Practices for Monitoring

  • Regular Review: Schedule weekly or monthly reviews of guardrail analytics
  • Baseline Establishment: Create baselines for normal operation to more easily identify anomalies
  • Cross-Referencing: Compare guardrail analytics with other system metrics to identify correlations
  • Iterative Improvement: Use analytics insights to continually refine guardrail configurations

Next Steps