Skip to content

Commit 3380b89

Browse files
committed
fix comments
1 parent 84156fe commit 3380b89

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/metric_engine/src/table_storage.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ pub struct TableManager {
4141
/// Such as: metrics, series, indexes, etc.
4242
///
4343
/// Columns for design:
44-
/// metrics: {MetricName}-{MetricID}-{FieldName}
45-
/// series: {TSID}-{SeriesKey}
46-
/// index: {TagKey}-{TagValue}-{TSID}
44+
/// ```plaintext
45+
/// metrics: {MetricName:string}-{MetricID:uint64}-{FieldName:string}-{FieldID:uint32}-{FieldType:uint8}
46+
/// series: {MetricID:uint64}-{TSID:uint64}-{SeriesKey:bytes}
47+
/// index: {MetricID:uint64}-{TagKey:string}-{TagValue:string}-{TSID:uint64}
48+
/// ```
4749
pub struct TableStorage {
4850
name: String,
4951
id: u64,

0 commit comments

Comments
 (0)