Replies: 2 comments
-
Can you share your config? (please redact any sensitive data first) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good day.
Tried to configure vector to gather ECS task metrics but got an error:
ERROR source{component_kind="source" component_id=source_aws_ecs_metrics component_type=aws_ecs_metrics}: vector::internal_events::aws_ecs_metrics: Parsing error. endpoint=http://169.254.170.2/v3/f4275bb6-2577-45f4-8500-49c6f5fa28ad/task/stats error=Error("invalid type: null, expected struct ContainerStats", line: 1, column: 72) stage="processing" error_type="parser_failed" internal_log_rate_limit=true
Vector configuration:
sources: ... source_aws_ecs_metrics: type: aws_ecs_metrics scrape_interval_secs: 15 version: v4 ...
In a deployed vector container, I can observe environments
ECS_CONTAINER_METADATA_URI=http://169.254.170.2/v3/f4275bb6-2577-45f4-8500-49c6f5fa28ad ECS_CONTAINER_METADATA_URI_V4=http://169.254.170.2/v4/f4275bb6-2577-45f4-8500-49c6f5fa28ad
The versions:
EC2: AWS amz linux 2, amzn2-ami-ecs-hvm-2.0.20250102-x86_64-ebs
ECS agent: "Starting Amazon ECS Agent" version="1.89.2" commit="41d593c6"
Vector.dev: "timberio/vector:0.43.1-debian"
Questions:
Beta Was this translation helpful? Give feedback.
All reactions