Skip to content

Commit 8d01828

Browse files
Fix integration name inconsistency in action destination load failure metrics (#1345)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MichaelGHSeg <101233650+MichaelGHSeg@users.noreply.github.com>
1 parent 72253e6 commit 8d01828

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/browser/src/plugins/remote-loader/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ describe('Remote Loader', () => {
997997
)
998998

999999
expect(metricSpy).toHaveBeenCalledWith(expect.any(Context), {
1000-
integrationName: 'Flaky Plugin',
1000+
integrationName: 'flaky plugin',
10011001
methodName: 'load',
10021002
type: 'action',
10031003
didError: true,

packages/browser/src/plugins/remote-loader/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export async function remoteLoader(
310310
} catch (error) {
311311
console.warn('Failed to load Remote Plugin', error)
312312
recordIntegrationMetric(Context.system(), {
313-
integrationName: remotePlugin.creationName,
313+
integrationName: remotePlugin.name,
314314
methodName: 'load',
315315
type: 'action',
316316
didError: true,

0 commit comments

Comments
 (0)