Fix wrong metric name for success counter (#188)

This commit is contained in:
Ali Behjati 2022-04-20 15:58:11 +01:00 committed by GitHub
parent b41708e863
commit 787ad7d190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export class PromClient {
help: "Number of not found responses for latest vaa of a price feed request" help: "Number of not found responses for latest vaa of a price feed request"
}); });
private apiLatestVaaSuccessResponseCounter = new client.Counter({ private apiLatestVaaSuccessResponseCounter = new client.Counter({
name: `${SERVICE_PREFIX}api_latest_vaa_not_found`, name: `${SERVICE_PREFIX}api_latest_vaa_success_response`,
help: "Number of successful responses for latest vaa of a price feed request" help: "Number of successful responses for latest vaa of a price feed request"
}); });
private apiLatestVaaFreshnessHistogram = new client.Histogram({ private apiLatestVaaFreshnessHistogram = new client.Histogram({