Explorar o código

use double underscore for service prefixing

Ali Behjati %!s(int64=3) %!d(string=hai) anos
pai
achega
997359eb5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      third_party/pyth/price-service/src/promClient.ts

+ 1 - 1
third_party/pyth/price-service/src/promClient.ts

@@ -8,7 +8,7 @@ import { logger } from "./logging";
 // 2) Create a method to set the metric to a value (such as `incIncoming` function below)
 // 3) Register the metric using `register.registerMetric` function.
 
-const SERVICE_PREFIX = "price_service/";
+const SERVICE_PREFIX = "price_service__";
 
 export class PromClient {
   private register = new client.Registry();