Jelajahi Sumber

use double underscore for service prefixing

Ali Behjati 3 tahun lalu
induk
melakukan
997359eb5e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();