Since v9.2.0, SkyWalking OAP provide 2 storage options for metrics/meter and records, system environment variable is (SW_STORAGE_ES_LOGIC_SHARDING
):
SW_STORAGE_ES_LOGIC_SHARDING = false
)metrics-all
and records-all
.metric_table
and record_table
.@ElasticSearch.Column()
), the alias would be the real physical column name.SW_STORAGE_ES_LOGIC_SHARDING = true
)@MetricsFunction
and @MeterFunction
would not be sharded.metrics-aggregation function name
or meter-aggregation function name
such as metrics-count
, and the logic index name would present in column metric_table
.Notice: Users still could choose to adjust ElasticSearch's shard number(SW_STORAGE_ES_INDEX_SHARDS_NUMBER
) to scale out no matter the option is.