[SnapshotV2] Add timestamp of last successful fetch of pinned timestamps in node stats #15896
Labels
enhancement
Enhancement or improvement to existing feature or request
Storage:Snapshots
v2.18.0
Issues and PRs related to version 2.18.0
Is your feature request related to a problem? Please describe
We can add the timestamp for the last successful fetch of pinned timestamps to the node stats. This can help in identifying any lags in the fetching process.
Describe the solution you'd like
RemoteStorePinnedTimestampService
has a static methodgetPinnedTimestamps()
. The first value of the returned tuple is when the last fetch of pinned timestamps is triggered . This is the timestamp we need to add to node stats.cluster.remote_store.pinned_timestamps.enabled
setting is set as trueRelated component
Storage:Snapshots
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: