Deepgram Enhanced Metrics
Beyond the metrics SageMaker itself publishes, the Deepgram container emits its own usage and billing metrics directly into your CloudWatch account. They are written as CloudWatch Embedded Metric Format (EMF) lines on container stdout: SageMaker forwards container output to the endpoint’s CloudWatch log group, and CloudWatch Logs extracts the metrics automatically. No agent, sidecar, or extra IAM permission is required, and the metrics keep flowing even in network-isolated Marketplace deployments.
Two namespaces are published, from two different layers of the container:
Unlike the Prometheus & OpenTelemetry metrics, these are classic CloudWatch metrics: they appear in aws cloudwatch list-metrics, work with get-metric-statistics, dashboards, and alarms, and need nothing enabled on the endpoint configuration.
All dimensions are low-cardinality and contain no PII — never transcripts, TTS input, or per-request identifiers.
Billing metrics: Deepgram/SageMakerInference
One EMF record is emitted per completed request (each streaming session and each pre-recorded or TTS request). These are the same consumed-unit values that drive AWS Marketplace metered billing, so this namespace is the tool for reconciling your AWS bill against actual traffic.
Dimensions are published in three sets — [Category], [Category, Model], and [Category, Model, Transport] — so you can query at any granularity:
Example — total consumed units per hour, per category:
SampleCount is the number of billed requests; Sum is the units consumed.
Usage metrics: Deepgram/SelfHosted
The Deepgram API server emits a second EMF stream with raw usage broken down by method, model tier, and enabled features — independent of billing. Use it to understand how your endpoint is used: which features are enabled, how much audio each tier processes, and how much of the traffic is streaming versus pre-recorded.
Dimension values: Deployment is sagemaker; Method is streaming or sync (pre-recorded); Feature is the request parameter name, for example diarize, smart_format, punctuate, redact, keyterm, interim_results.
Example — how much audio ran with diarization enabled today:
Opting out
The usage stream is on by default. To disable it, set an environment variable override in the endpoint configuration’s Environment map (see Configure Amazon SageMaker Deployments):
The billing stream (Deepgram/SageMakerInference) cannot be disabled — it is part of the metering pipeline.
Because EMF metrics are extracted from the endpoint’s CloudWatch log group, they stop if the log group is deleted or the container’s logging permissions are removed. Standard CloudWatch metric pricing applies per unique metric/dimension combination; both streams keep dimension cardinality small by design.
Related resources
- Observability for Amazon SageMaker — SageMaker’s own metrics, logs, and alarms
- Prometheus & OpenTelemetry Metrics — per-GPU and container Prometheus metrics via detailed observability
- Configure Amazon SageMaker Deployments — environment variable overrides
- CloudWatch Embedded Metric Format specification (AWS)