Monitor your usage of Sensitive Data Protection Stay organized with collections Save and categorize content based on your preferences.
This page describes how to use Cloud Monitoring to view and graph metricsdata about your Sensitive Data Protection usage.
Sensitive Data Protection sends detailed telemetry about your Sensitive Data Protectionusage to Monitoring. This can be useful to monitor forunexpected findings, amount of data scanned or transformed, errors injob triggers or jobs, andexpenses.
View Sensitive Data Protection metrics in Monitoring
UsingMetrics Explorer inCloud Monitoring, you can dig into available metrics data to give youinsight into your Sensitive Data Protection usage. Monitoringsupports a wide variety of metrics, which you can combine with filters andaggregations for new and insightful views.
To view the metrics for a monitored resource by using theMetrics Explorer, do the following:
In the Google Cloud console, go to theleaderboard Metrics explorer page:
If you use the search bar to find this page, then select the result whose subheading isMonitoring.
- In theMetric element, expand theSelect a metric menu, and then select a resource type and metric type. For example, to chart the CPU utilization of a virtual machine, do the following:
- (Optional) To reduce the menu's options, enter part of the metric name in theFilter bar. For this example, enter
utilization. - In theActive resources menu, selectVM instance.
- In theActive metric categories menu, selectInstance.
- In theActive metrics menu, selectCPU utilization and then clickApply.
- (Optional) To reduce the menu's options, enter part of the metric name in theFilter bar. For this example, enter
To filter which time series are displayed, use theFilter element.
To combine time series, use the menus on theAggregation element. For example, to display the CPU utilization for your VMs, based on their zone, set the first menu toMean and the second menu tozone.
All time series are displayed when the first menu of theAggregation element is set toUnaggregated. The default settings for theAggregation element are determined by the metric type you selected.
To see Sensitive Data Protection-specific metrics in Metrics Explorer, search withdlp.googleapis.com to refine your search results.
To see API metrics in Metrics Explorer, selectConsumed API as the resourcetype, and then use the filter and aggregation options to refine your data.
After you've found the metrics you want, you can use Monitoringto create custom dashboards and alerts that will help you continue to monitorand maintain a robust application.
Graph the metrics
You can graph metrics by aggregating them usingAdvanced Aggregation. Use the following settings:
- Aligner: SUM
- Alignment Period: 1440

You get a chart showing the results per day.

Cloud Monitoring supports alerting on all metrics. Using theSensitive Data Protection metrics, you can alert on use cases that include:
- Monitor
content_bytes_inspected_countorcontent_bytes_transformed_countto alert when spend has exceeded budget for a day. - Alert when the number of total findings or findings for a specific infoType exceed a threshold. For example, you can build an alert if
CREDIT_CARD_NUMBERfindings exceed 0 in a given project where no PII should exist.
Available metrics
The following metric type names must be prefixed withdlp.googleapis.com/. That prefix has been omitted from the entries in thetable.
| Metric type Display name | |
|---|---|
| Kind, Type, Unit Launch stage | Description Labels |
finding_countNumber of findings | |
DELTA, INT64, By | Number of findings per second. Only populated for jobs where the actionPublishToStackdriver is included. |
content_bytes_inspected_countContent bytes inspected | |
DELTA, INT64, By | Number of bytes inspected in content methods per second. |
content_bytes_transformed_countContent bytes transformed | |
DELTA, INT64, By | Number of bytes transformed in content methods per second. |
storage_bytes_inspected_countStorage bytes inspected | |
DELTA, INT64, By | Number of bytes inspected in Sensitive Data Protection jobs. |
storage_bytes_transformed_countStorage bytes transformed | |
DELTA, INT64, By | Number of bytes transformed in Sensitive Data Protection jobs. |
job_result_countJob results | |
DELTA, INT64, 1 | Results of Sensitive Data Protection jobs. True if the job was success and false otherwise. |
job_trigger_run_countJob trigger runs | |
DELTA, INT64, 1 | Results of job trigger runs. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.