To clearly display the operations of the storage and compute decoupling plugin in OBS, the real-time OBS rate metric is added to CSS and recorded in the system index.
This feature is available at Elasticsearch of versions 7.6.2 and 7.10.2 and Opensearch clusters created after March 2023.
GET _frozen_stats/obs_rate GET _frozen_stats/obs_rate/{nodeId}
{nodeId} indicates the ID of the node whose OBS operation rate you want to query.
{ "_nodes" : { "total" : 1, "successful" : 1, "failed" : 0 }, "cluster_name" : "elasticsearch", "nodes" : { "dflDvcSwTJ-fkiIlT2zE3A" : { "name" : "node-1", "transport_address" : "127.0.0.1:9300", "host" : "127.0.0.1", "ip" : "127.0.0.1", "update_time" : 1671777600482, // Time when the current statistics are updated. "obs_rate" : { "list_op_rate" : 0.0, // Rate of OBS list operations. Unit: times/s. "get_meta_op_rate" : 0.0, // Rate of OBS get meta operations. Unit: times/s. "get_obj_op_rate" : 0.0, // Rate of OBS get operations. Unit: times/s. "put_op_rate" : 0.0, // Rate of OBS put operations. Unit: times/s. "obs_total_op_rate" : 0.0, // Rate of all OBS operations. The unit is times/s. "obs_upload_rate" : "0.0 MB/s", // Data upload rate of OBS, in MB/s. "obs_download_rate" : "0.0 MB/s" // Data download rate of OBS, in MB/s. } } } }
The default retention period of indexes is 30 days.
Configuration Item |
Type |
Scope |
Can Be Dynamically Modified |
Description |
low_cost.obs_rate_index.evict_time |
String |
node |
Yes |
The retention period of the .freeze_obs_rate-YYYY.mm.dd index.
|
For example, run the following command to modify the retention period of the .freeze_obs_rate-YYYY.mm.dd index:
PUT _cluster/settings { "persistent": { "low_cost.obs_rate_index.evict_time": "7d" } }