opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

[exporter/awsxray] Allow multiple log group names/arns to be set in environmental variables

Open pxaws opened this issue 7 months ago • 1 comments

Description: <Describe what has changed.>

Cherry-picking from downstream:

amazon-contributing#218

  • We allow users to set multiple log group names or arns using environmental variable. We choose to use & to separate individual log group name or arn because & is not allowed in log group names (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogGroup.html) and & implicitly means 'AND'.
  • This PR adds the parsing logic in xray exporter to handle multiple log group names/arns set in environmental variable.

Link to tracking Issue: <Issue number if applicable> N/A

Testing: <Describe what testing was performed and which tests were added.> Unit Testing

Documentation: <Describe the documentation added.> The readme for xray exporter is updated.

pxaws avatar Jun 27 '24 18:06 pxaws