Skip to content

Commit

Permalink
change jobname
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto committed Sep 12, 2024
1 parent db1fd82 commit fb18cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function pushMetrics(pushGateway?: string) {
}
const gateway = new prom.Pushgateway(pushGateway);
gateway
.push({ jobName: 'uhttp-latency-monitor' })
.push({ jobName: process.env.UHTTP_LM_METRIC_INSTANCE || 'unknown' })
.then(() => {
log.info('Latency Monitor[%s] finished run successfully', Version);
})
Expand Down

0 comments on commit fb18cd4

Please sign in to comment.