feat: add MonitorCustomMetrics component for displaying custom metrics; enhance MonitorMetrics to include custom metrics tab

This commit is contained in:
Nawaz Dhandala
2026-04-01 15:35:11 +01:00
parent 9756f5a117
commit d8aea2627b
5 changed files with 234 additions and 0 deletions

View File

@@ -554,6 +554,12 @@ export default class MonitorMetricUtil {
...syntheticCustomMetrics,
].slice(0, 100);
if (allCustomMetrics.length > 0) {
logger.debug(
`${data.monitorId.toString()} - Processing ${allCustomMetrics.length} custom metrics`,
);
}
const reservedAttributeKeys: Set<string> = new Set([
"monitorId",
"projectId",