-
Notifications
You must be signed in to change notification settings - Fork 592
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 broker steps startup/shutdown metrics #3913
Comments
@npepinpe Hi, I think I can take this :) If I understand correctly these times (step-by-step: |
iirc pie charts in Grafana aren't built-in, so I wouldn't expect most users to have this floating around. I hadn't really thought about it up until now to be honest. We could go with a single gauge metric, with a label for the step itself? As step number can change, maybe we can use the step name as the label value (that's possibly less likely to change). |
5535: chore(broker): Add startup and close processes metrics r=Zelldon a=aivinog1 ## Description Implement metrics to measure the start and close process steps. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #3913 ## Definition of Done _Not all items need to be done depending on the issue and the pull request._ Code changes: * [ ] The changes are backwards compatibility with previous versions * [ ] If it fixes a bug then PRs are created to [backport](https://github.com/zeebe-io/zeebe/compare/stable/0.24...develop?expand=1&template=backport_template.md&title=[Backport%200.24]) the fix to the last two minor versions Testing: * [ ] There are unit/integration tests that verify all acceptance criterias of the issue * [ ] New tests are written to ensure backwards compatibility with further versions * [ ] The behavior is tested manually * [ ] The impact of the changes is verified by a benchmark Documentation: * [ ] The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.) * [ ] New content is added to the [release announcement](https://drive.google.com/drive/u/0/folders/1DTIeswnEEq-NggJ25rm2BsDjcCQpDape) Co-authored-by: Alexey Vinogradov <vinogradov.a.i.93@gmail.com>
5535: chore(broker): Add startup and close processes metrics r=Zelldon a=aivinog1 ## Description Implement metrics to measure the start and close process steps. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #3913 ## Definition of Done _Not all items need to be done depending on the issue and the pull request._ Code changes: * [ ] The changes are backwards compatibility with previous versions * [ ] If it fixes a bug then PRs are created to [backport](https://github.com/zeebe-io/zeebe/compare/stable/0.24...develop?expand=1&template=backport_template.md&title=[Backport%200.24]) the fix to the last two minor versions Testing: * [ ] There are unit/integration tests that verify all acceptance criterias of the issue * [ ] New tests are written to ensure backwards compatibility with further versions * [ ] The behavior is tested manually * [ ] The impact of the changes is verified by a benchmark Documentation: * [ ] The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.) * [ ] New content is added to the [release announcement](https://drive.google.com/drive/u/0/folders/1DTIeswnEEq-NggJ25rm2BsDjcCQpDape) 5574: Remove unused atomix configuration options r=Zelldon a=Zelldon # Description During cleaning up my last PR I saw that we have a lot of dead code and possibilities of how to configure atomix, which is actually not used. Removes unused atomix configuration options, like configuration via files etc. Co-authored-by: Alexey Vinogradov <vinogradov.a.i.93@gmail.com> Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
5535: chore(broker): Add startup and close processes metrics r=Zelldon a=aivinog1 ## Description Implement metrics to measure the start and close process steps. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #3913 ## Definition of Done _Not all items need to be done depending on the issue and the pull request._ Code changes: * [ ] The changes are backwards compatibility with previous versions * [ ] If it fixes a bug then PRs are created to [backport](https://github.com/zeebe-io/zeebe/compare/stable/0.24...develop?expand=1&template=backport_template.md&title=[Backport%200.24]) the fix to the last two minor versions Testing: * [ ] There are unit/integration tests that verify all acceptance criterias of the issue * [ ] New tests are written to ensure backwards compatibility with further versions * [ ] The behavior is tested manually * [ ] The impact of the changes is verified by a benchmark Documentation: * [ ] The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.) * [ ] New content is added to the [release announcement](https://drive.google.com/drive/u/0/folders/1DTIeswnEEq-NggJ25rm2BsDjcCQpDape) Co-authored-by: Alexey Vinogradov <vinogradov.a.i.93@gmail.com>
5535: chore(broker): Add startup and close processes metrics r=Zelldon a=aivinog1 ## Description Implement metrics to measure the start and close process steps. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #3913 ## Definition of Done _Not all items need to be done depending on the issue and the pull request._ Code changes: * [ ] The changes are backwards compatibility with previous versions * [ ] If it fixes a bug then PRs are created to [backport](https://github.com/zeebe-io/zeebe/compare/stable/0.24...develop?expand=1&template=backport_template.md&title=[Backport%200.24]) the fix to the last two minor versions Testing: * [ ] There are unit/integration tests that verify all acceptance criterias of the issue * [ ] New tests are written to ensure backwards compatibility with further versions * [ ] The behavior is tested manually * [ ] The impact of the changes is verified by a benchmark Documentation: * [ ] The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.) * [ ] New content is added to the [release announcement](https://drive.google.com/drive/u/0/folders/1DTIeswnEEq-NggJ25rm2BsDjcCQpDape) Co-authored-by: Alexey Vinogradov <vinogradov.a.i.93@gmail.com>
5535: chore(broker): Add startup and close processes metrics r=jwulf a=aivinog1 ## Description Implement metrics to measure the start and close process steps. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #3913 ## Definition of Done _Not all items need to be done depending on the issue and the pull request._ Code changes: * [ ] The changes are backwards compatibility with previous versions * [ ] If it fixes a bug then PRs are created to [backport](https://github.com/zeebe-io/zeebe/compare/stable/0.24...develop?expand=1&template=backport_template.md&title=[Backport%200.24]) the fix to the last two minor versions Testing: * [ ] There are unit/integration tests that verify all acceptance criterias of the issue * [ ] New tests are written to ensure backwards compatibility with further versions * [ ] The behavior is tested manually * [ ] The impact of the changes is verified by a benchmark Documentation: * [ ] The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.) * [ ] New content is added to the [release announcement](https://drive.google.com/drive/u/0/folders/1DTIeswnEEq-NggJ25rm2BsDjcCQpDape) Co-authored-by: Alexey Vinogradov <vinogradov.a.i.93@gmail.com>
Is your feature request related to a problem? Please describe.
It would be helpful when deploying changes to know how they impact startup/shutdown (start up in particular is important for quick failover).
Describe the solution you'd like
Add metrics to monitor startup/shutdown time, total and split by steps, so we can see the difference over time.
Describe alternatives you've considered
Checking the logs - works OK-ish, but easy to overlook.
The text was updated successfully, but these errors were encountered: