Skip to content

Commit 3836488

Browse files
authored
Merge pull request #639 from Merit-Systems/br/local-facilitator
add facilitator attempt metric
2 parents 8b9a43a + d206ed1 commit 3836488

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/app/server/src/services/facilitator/facilitatorRetry.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export async function facilitatorWithRetry<
7171
): Promise<T> {
7272
const errors: Array<{ facilitator: string; error: string }> = [];
7373

74+
logMetric('facilitator_attempt', 1, {
75+
method,
76+
});
77+
7478
for (const facilitator of facilitators) {
7579
try {
7680
if (facilitator.name === 'Local') {

0 commit comments

Comments
 (0)