Skip to content

Commit

Permalink
Merge branch 'log-endpoint-id'
Browse files Browse the repository at this point in the history
  • Loading branch information
remvee committed Jan 8, 2025
2 parents 07a3e09 + d762805 commit 7fae2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion policies/aggregation/aggregation.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ module.exports = (config, { gatewayConfig: { serviceEndpoints } }) => {
client: app,
side: 'backend',
http_status: statusCode,
endpoint: endpointId,
traceparent_id: outgoingTraceParent.id,
traceparent_parent_id: outgoingTraceParent.parent_id,
traceparent_trace_id: outgoingTraceParent.traceId,
Expand Down Expand Up @@ -207,7 +208,7 @@ module.exports = (config, { gatewayConfig: { serviceEndpoints } }) => {
})
} catch (err) {
logger.warn(err)
// const exInfo = err.exInfo || {}

report({
statusCode: err.statusCode,
reqTimerEnd: new Date(),
Expand Down

0 comments on commit 7fae2c8

Please sign in to comment.