Relevant telegraf.conf:
System info:
Telegraf version: 1.15.3
Expected behavior:
Have constant flow of ecs_task measurements in InfluxDB.
Actual behavior:
ecs_task measurements are added into InfluxDB only during ECS deployments.
Additional info:
I believe it's because of this line:
|
acc.AddFields("ecs_task", taskFields, tags, task.PullStoppedAt) |
It uses the wrong field as a timestamp:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html
PullStoppedAt
The timestamp for when the last container image pull finished.
Relevant telegraf.conf:
System info:
Telegraf version: 1.15.3
Expected behavior:
Have constant flow of ecs_task measurements in InfluxDB.
Actual behavior:
ecs_task measurements are added into InfluxDB only during ECS deployments.
Additional info:
I believe it's because of this line:
telegraf/plugins/inputs/ecs/ecs.go
Line 176 in d369003
It uses the wrong field as a timestamp:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html