All Products
Search
Document Center

Tablestore:TimeseriesKey

Last Updated:Apr 29, 2025

Specifies the identifiers of a time series.

Usage notes

The definition of TimeseriesKey varies based on the value of the supported_table_version parameter in the PutTimeseriesData, GetTimeseriesData, UpdateTimeseriesMeta, QueryTimeseriesMeta, DeleteTimeseriesMeta, and ScanTimeseriesData operations.

Data structure

message TimeseriesKey {
  optional string measurement = 1;
  optional string source = 2;
  optional string tags = 3;
  repeated TimeseriesTag tag_list = 4;
}

Parameter

Type

Required

Description

measurement

string

No

The name of the metric.

source

string

No

The data source.

tags

string

No

The tags. This parameter is required only when you set the supported_table_version parameter to 0.

tag_list

TimeseriesTag

No

The tags. This parameter is required only when you set the supported_table_version parameter to 1.