Skip to content

Commit e83683f

Browse files
chore: add extension author to trace
1 parent 956b905 commit e83683f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/build/src/steps/run_step.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ export const runStep = async function ({
8787
attributes['build.execution.step.plugin_version'] = pluginPackageJson.version
8888
}
8989

90+
if (pluginPackageJson?.author) {
91+
attributes['build.execution.step.plugin_author'] = pluginPackageJson.author
92+
}
93+
9094
const spanCtx = setMultiSpanAttributes(attributes)
9195
// If there's no `coreStepId` then this is a plugin execution
9296
const spanName = `run-step-${coreStepId || `plugin-${event}`}`

packages/config/src/types/integrations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export type Integration = {
55
dev?: {
66
path: string
77
}
8+
author?: string
89
}

0 commit comments

Comments
 (0)