Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

describe the values in the CCR metrics table #184545

Merged
merged 8 commits into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 29 additions & 6 deletions docs/user/monitoring/elasticsearch-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,39 @@ model, the number of forecasts, and the node that runs the job.
== CCR

To view {ccr} metrics, click **CCR**. For each follower index on the cluster, it
shows information such as the leader index, an indication of how much the
follower index is lagging behind the leader index, the last fetch time, the
number of operations synced, and error messages. If you select a follower index,
you can view the same information for each shard.
shows the following information:

- **Index**: The name of the follower index.
- **Follows**: The name of the leader index.
- **Alerts**: Any read exceptions that have been triggered for the index or its
shards.
- **Sync Lag (ops)**: How many operations the follower index is lagging behind the
leader index.
+
This is calculated by finding the difference between the minimum and maximum operation
sequence number on the leader (`leader_max_seq_no`) and the difference between the minimum
and maximum global sequence number checkpoint on the follower (`follower_global_checkpoint`)
for each shard over the selected time period. The difference in `follower_global_checkpoint`
is subtracted from the difference in `leader_max_seq_no` for each shard, and the highest result
across all shards is displayed.
- **Last fetch time**: The time elapsed since the last successful fetch from the leader index.
Represents the longest time elapsed across all of the shards in the follower index.
- **Ops synced**: The number of operations indexed (replicated) into the follower index from
the leader index in the selected time period.
+
This metric is a sum of the number of operations indexed across all shards over the selected
time period.
- **Error**: Any exceptions returned for the most recent document in the selected time period.

If you select a follower index, you can view the same information for each shard.
For more information on the properties used to calculate these metrics, refer to the
{ref}/ccr-get-follow-stats.html[get follower stats API] documentation.

If you select a shard, you can see graphs for the fetch and operation delays.
You can also see advanced information, which contains the results from the
You can also see advanced information, which contains additional stats from the
{ref}/ccr-get-follow-stats.html[get follower stats API].

For more information, refer to {ref}/xpack-ccr.html[{ccr-cap}].
Learn more about {ref}/xpack-ccr.html[{ccr-cap}].

[float]
[[logs-monitor-page]]
Expand Down