Data Discovery is currently in Private Preview and is not available for General Availability (GA). It should not be used in production environments, as features and functionality may change before the final GA release.
Usage Metrics
This section outlines the usage metrics generated by Data Discovery for classification requests. These metrics provide visibility into service usage and support scenarios such as internal chargeback across departments, the logs are designed to support monitoring, auditing, and capacity planning.
Overview
When you submit a classification request to Data Discovery, the service generates a usage log entry after the request is processed. A log entry is created for every request, regardless of whether the request succeeds or fails.
The following log entries summarize high-level usage metrics:
- The amount of data classified.
- The outcome of the request (HTTP status code).
- The time at which the request was processed.
The following example shows a typical usage log entry generated by Data Discovery:
{
"logtype": "datadiscovery_usage_metrics",
"origin": {
"time_utc": "2026-02-10T08:00:57.289+00:00"
},
"metrics": {
"classified_bytes": 1379,
"status": 200
}
}
The following table describes the fields included in a Data Discovery usage log entry:
| Field | Description |
|---|---|
logtype | Identifies the type of log entry. For Data Discovery usage metrics, this value is always datadiscovery_usage_metrics. |
origin.time_utc | The UTC timestamp indicating when the classification request was processed. |
metrics.classified_bytes | The total number of bytes submitted for classification in the request. |
metrics.status | The HTTP status code returned by the Classification service for the request. For more details, please see the Classify Text API, Classify Tabular API, and Label Text API documentation. |
Note: The
classified_bytesvalue reflects the size of the input data sent in the request body, not the size of the response.