Add experimental disclamer

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-08-19 13:28:24 +02:00
parent 2766b2aa51
commit 6277060d72
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -1,5 +1,4 @@
---
'example-backend': patch
'@backstage/plugin-catalog-backend': patch
---
+4
View File
@@ -20,6 +20,10 @@ import promBundle from 'express-prom-bundle';
import prom from 'prom-client';
import * as url from 'url';
/**
* Experimental Prometheus metrics used to benchmark the performance of the
* software catalog. Use this at your own risk.
*/
const rootRegEx = new RegExp('^/([^/]*)/.*');
const apiRegEx = new RegExp('^/api/([^/]*)/.*');