epok
View as Markdown

AWS CloudFront metrics

Updated Nov 22, 2026 · today

CloudFront publishes metrics under the AWS/CloudFront namespace, which reaches Epok through the shared setup on AWS: logs and metrics.

On this page: What you getLogsMetricsTroubleshooting

What you get

  • Metrics: the AWS/CloudFront namespace, which includes requests, bytes downloaded and uploaded, 4xx and 5xx error rates and the total error rate.
  • Logs: not supported yet.

Logs

Legacy standard logs write to S3, and real-time logs write to Kinesis Data Streams. Neither arrives through the shared Firehose path. S3 delivery: not supported yet. Standard logging (v2) can also deliver to a CloudWatch Logs group in us-east-1. We have not tested that path with Epok yet, so we do not list it as supported.

Metrics

The namespace is AWS/CloudFront. It is not in the default metric stream list, so to receive it run the metrics setup with EPOK_METRIC_NAMESPACES=all (streams every namespace; check the cost first).

Troubleshooting

  1. No logs appear. Expected: S3 delivery is not live, and CloudWatch Logs delivery (standard logging v2) is not tested yet.
  2. Metrics missing. AWS/CloudFront is not in the default list, and CloudFront publishes its metrics only in us-east-1. Run the metrics setup in us-east-1 with EPOK_METRIC_NAMESPACES=all, then run bash aws-metrics.sh --verify-only.
  3. Metrics are near zero. A distribution with no traffic reports nothing. Confirm there is traffic and the namespace is on.

Next