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

Add metrics for checkpoint processor #10385

Closed
Tracked by #9606
deepthidevaki opened this issue Sep 16, 2022 · 0 comments · Fixed by #10409
Closed
Tracked by #9606

Add metrics for checkpoint processor #10385

deepthidevaki opened this issue Sep 16, 2022 · 0 comments · Fixed by #10409
Assignees
Labels
version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0

Comments

@deepthidevaki
Copy link
Contributor

deepthidevaki commented Sep 16, 2022

Possible metrics

  • Last checkpoint position
  • Number of checkpoint records processed/ignored
@deepthidevaki deepthidevaki self-assigned this Sep 20, 2022
zeebe-bors-camunda bot added a commit that referenced this issue Sep 20, 2022
10409: feat(backup): add metrics for checkpoints r=deepthidevaki a=deepthidevaki

## Description

Added following metrics:
- number of checkpoint records processed per partition. Can be filtered by `result = created` or `result = ignored`.
- last checkpoint id and last checkpoint position per partition. It is updated in both leader and followers.

PS:- This PR does not add panels to grafana dashboard. 

## Related issues

closes #10385 



Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
zeebe-bors-camunda bot added a commit that referenced this issue Sep 20, 2022
10409: feat(backup): add metrics for checkpoints r=deepthidevaki a=deepthidevaki

## Description

Added following metrics:
- number of checkpoint records processed per partition. Can be filtered by `result = created` or `result = ignored`.
- last checkpoint id and last checkpoint position per partition. It is updated in both leader and followers.

PS:- This PR does not add panels to grafana dashboard. 

## Related issues

closes #10385 



Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
zeebe-bors-camunda bot added a commit that referenced this issue Sep 20, 2022
10409: feat(backup): add metrics for checkpoints r=deepthidevaki a=deepthidevaki

## Description

Added following metrics:
- number of checkpoint records processed per partition. Can be filtered by `result = created` or `result = ignored`.
- last checkpoint id and last checkpoint position per partition. It is updated in both leader and followers.

PS:- This PR does not add panels to grafana dashboard. 

## Related issues

closes #10385 



Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
zeebe-bors-camunda bot added a commit that referenced this issue Sep 20, 2022
10409: feat(backup): add metrics for checkpoints r=deepthidevaki a=deepthidevaki

## Description

Added following metrics:
- number of checkpoint records processed per partition. Can be filtered by `result = created` or `result = ignored`.
- last checkpoint id and last checkpoint position per partition. It is updated in both leader and followers.

PS:- This PR does not add panels to grafana dashboard. 

## Related issues

closes #10385 



10410: feat: gateway endpoint to pause exporting r=oleschoenburg a=oleschoenburg

Adds an actuator `/exporting` that supports a `pause` operation. On `POST /actuator/exporting/pause`, the current topology is checked for completeness (all brokers available, all partitions have the expected number of members). If this fails, exporting is not paused and the request returns status code 500. If the topology is complete, the actuator sends pause requests to all `(broker, partition)` pairs. Only if all requests succeed we return status code 204, otherwise 500.

This also fixes a bug where pausing exporting would fail if no exporters are configured.

closes #9630


10415: fix(ci): use bash shell for maven run  r=megglos a=megglos

## Description

Ensures a fail fast behavior as this includes [github setting](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference) `set -eo pipefail` which makes sure failures in a pipe chain are not lost and any maven test failure causes the build to fail.

## Related issues

closes #10260



Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Co-authored-by: Meggle (Sebastian Bathke) <sebastian.bathke@camunda.com>
@Zelldon Zelldon added the version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0 label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants