Skip to content

Commit

Permalink
feat(publish-metrics): implement tracing for cloudwatch reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
InesNi committed Feb 8, 2024
1 parent fde1000 commit 97bbb4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ function assembleCollectorConfigOpts(reportersConfigList, options) {
const envVars = collectorOptionsList.reduce((acc, vendorOpts) => {
return Object.assign(acc, vendorOpts.envVars);
}, {});

// We need to stringify the collector config as it needs to be set as a parameter value in SSM for ADOT to pick it up
return {
configJSON: JSON.stringify(collectorConfig),
Expand Down Expand Up @@ -246,7 +245,8 @@ const vendorToCollectorConfigTranslators = {
},
exporters: {
awsxray: {
region: config.region || 'us-east-1'
region: config.region || 'us-east-1',
index_all_attributes: 'true'
}
},
service: {
Expand Down

0 comments on commit 97bbb4c

Please sign in to comment.