- 新しい順
- 投票が多い順
- コメントが多い順
Hi, seems like that log event does not contain a special field called CloudWatchMetrics, which is needed to materialize metrics from logs. This format is called EMF (Embedded metric format).
The reason why it's missing could be that your agent configuration does not include "emf_processor" and "metric_declaration" ? Could you check that?
An example configuration can be found in this yaml file: https://raw.githubusercontent.com/aws-samples/amazon-cloudwatch-container-insights/latest/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-awsvpc.yaml , which is linked from this doc: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-install-ECS.html
関連するコンテンツ
- 質問済み 9ヶ月前
- AWS公式更新しました 6ヶ月前