[receiver/awsecscontainermetricsreceiver] Add ServiceName
metadata to be retrieved from task metadata endpoint #19728
Closed
Description
Component(s)
receiver/awsecscontainermetrics
Is your feature request related to a problem? Please describe.
Currently, the awsecscontainermetricsreceiver
returns "undefined" for ServiceName
, see here. This is likely because this was implemented before ServiceName
was available from the task metadata endpoint, however for Amazon ECS container agent versions 1.63.1 or later, it is available. 1.63.1 has been available for over 6 months now, and ServiceName
should be added to the awsecscontainermetricsreceiver
.
Describe the solution you'd like
Update the code for the awsecscontainermetricsreceiver
to include ServiceName
when receiving ECS container metrics.
Describe alternatives you've considered
No response
Additional context
No response