TSDB Status
- {headStats()}
+
Head Cardinality Stats
+ {[
+ { title: 'Top 10 label names with value count', stats: labelValueCountByLabelName },
+ { title: 'Top 10 series count by metric names', stats: seriesCountByMetricName },
+ { title: 'Top 10 label names with high memory usage', unit: 'Bytes', stats: memoryInBytesByLabelName },
+ { title: 'Top 10 series count by label value pairs', stats: seriesCountByLabelValuePair },
+ ].map(({ title, unit = 'Count', stats }) => {
+ return (
+
+
{title}
+
+
+
+ | Name |
+ {unit} |
+
+
+
+ {stats.map(({ name, value }) => {
+ return (
+
+ | {name} |
+ {value} |
+
+ );
+ })}
+
+
+
+ );
+ })}
);
};
+TSDBStatusContent.displayName = 'TSDBStatusContent';
+
+const TSDBStatusContentWithStatusIndicator = withStatusIndicator(TSDBStatusContent);
+
+const TSDBStatus: FC