-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi there,
The otelbin tool does not seem to be able to validate the awsecscontainermetrics receiver on otelcol contrib 0.126.0 and above.
Error:
failed to create "awsecscontainermetrics" receiver for data type "metrics": unable to detect task metadata endpoint: no valid endpoint for environment variable ECS_CONTAINER_METADATA_URI_V4: endpoint is empty
It seems like the new contrib image forces a load of the ECS_CONTAINER_METADATA_URI_V4 variable which is not found.
Sample config that fails:
receivers:
awsecscontainermetrics:
exporters:
awsemf:
namespace: 'ECS/ContainerMetrics/OpenTelemetry'
log_group_name: '/ecs/containermetrics/opentelemetry'
service:
pipelines:
metrics:
receivers: [awsecscontainermetrics]
exporters: [awsemf]
Metadata
Metadata
Assignees
Labels
No labels