inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

Closes #1495 - improve the behavior when agent commands fail (or are not available) due to missing configuration - backend #1527

Closed danipaniii closed 2 years ago

danipaniii commented 2 years ago

Closes #1495 Implementing improved behavior in the UI when agent commands are not enabled for the log-preloading button and the support archive button. Unless the necessary settings are not enabled for the log-preloading or the support archive, the buttons will be deactivated and in the tooltip will be a message telling the user how to enable the buttons.


This change is Reviewable

codecov[bot] commented 2 years ago

Codecov Report

Merging #1527 (3922ece) into master (4ae7a26) will decrease coverage by 0.84%. The diff coverage is 12.37%.

:exclamation: Current head 3922ece differs from pull request most recent head 74ab0ff. Consider uploading reports for the commit 74ab0ff to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1527 +/- ## ============================================ - Coverage 78.64% 77.80% -0.84% - Complexity 2271 2275 +4 ============================================ Files 232 234 +2 Lines 7438 7535 +97 Branches 887 894 +7 ============================================ + Hits 5849 5862 +13 - Misses 1219 1304 +85 + Partials 370 369 -1 ``` | [Impacted Files](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT) | Coverage Δ | | |---|---|---| | [.../src/main/java/com/mindprod/jarcheck/JarCheck.java](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1jb3JlL3NyYy9tYWluL2phdmEvY29tL21pbmRwcm9kL2phcmNoZWNrL0phckNoZWNrLmphdmE=) | `0.00% <0.00%> (ø)` | | | [...service/DynamicallyActivatableServiceObserver.java](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1jb3JlL3NyYy9tYWluL2phdmEvcm9ja3MvaW5zcGVjdGl0L29jZWxvdC9jb3JlL3NlbGZtb25pdG9yaW5nL3NlcnZpY2UvRHluYW1pY2FsbHlBY3RpdmF0YWJsZVNlcnZpY2VPYnNlcnZlci5qYXZh) | `50.00% <50.00%> (ø)` | | | [.../propertysources/http/HttpPropertySourceState.java](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1jb3JlL3NyYy9tYWluL2phdmEvcm9ja3MvaW5zcGVjdGl0L29jZWxvdC9jb3JlL2NvbmZpZy9wcm9wZXJ0eXNvdXJjZXMvaHR0cC9IdHRwUHJvcGVydHlTb3VyY2VTdGF0ZS5qYXZh) | `77.86% <100.00%> (+0.17%)` | :arrow_up: | | [...ot/core/service/DynamicallyActivatableService.java](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1jb3JlL3NyYy9tYWluL2phdmEvcm9ja3MvaW5zcGVjdGl0L29jZWxvdC9jb3JlL3NlcnZpY2UvRHluYW1pY2FsbHlBY3RpdmF0YWJsZVNlcnZpY2UuamF2YQ==) | `83.72% <100.00%> (+0.79%)` | :arrow_up: | | [.../ocelot/core/metrics/system/GCMetricsRecorder.java](https://codecov.io/gh/inspectIT/inspectit-ocelot/pull/1527/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1jb3JlL3NyYy9tYWluL2phdmEvcm9ja3MvaW5zcGVjdGl0L29jZWxvdC9jb3JlL21ldHJpY3Mvc3lzdGVtL0dDTWV0cmljc1JlY29yZGVyLmphdmE=) | `72.95% <0.00%> (+0.82%)` | :arrow_up: |