Skip to content

Commit c4f4879

Browse files
author
Tim Middleton
authored
Finalize tracer probes (#80)
* Finalize tracer probes * more tracer probes
1 parent d85e041 commit c4f4879

26 files changed

+1418
-53
lines changed

README.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -206,44 +206,7 @@ From the VisualVM website
206206
207207
When you connect to a cluster via JMX, you will see the `Tracer` tab as shown below:
208208

209-
   ![Coherence VisualVM Probes](assets/probes.png)
210-
211-
Each of the probes areas can be expanded to reveal the individual probes. You can select the probes and then
212-
click `Start` to display the information.
213-
214-
The supported Coherence probes are:
215-
216-
*Cluster Overview*
217-
218-
    ![Cluster Overview](assets/probes-cluster-overview.png)
219-
220-
*Services*
221-
222-
    ![Cluster Overview](assets/probes-services.png)
223-
224-
*Caches*
225-
226-
    ![Caches](assets/probes-caches.png)
227-
228-
*Proxy Servers*
229-
230-
    ![Proxy Servers](assets/probes-proxies.png)
231-
232-
*Persistence*
233-
234-
    ![Persistence](assets/probes-persistence.png)
235-
236-
*Federation*
237-
238-
    ![Federation](assets/probes-federation.png)
239-
240-
*Elastic Data*
241-
242-
    ![elastic Data](assets/probes-elastic-data.png)
243-
244-
> Note: In the initial release of this integration, only summary information can to be plotted. We may include
245-
> additional functionality in future releases to allow for specific services or caches to be monitored.
246-
> There are no timelines for these releases. If you would like specific information included, please raise an issue.
209+
TBC.
247210

248211
## <a id="build"></a> Building the Plugin
249212

assets/probes-caches.png

-16.6 KB
Binary file not shown.

assets/probes-cluster-overview.png

-40.4 KB
Binary file not shown.

assets/probes-elastic-data.png

-27.3 KB
Binary file not shown.

assets/probes-federation.png

-31.3 KB
Binary file not shown.

assets/probes-persistence.png

-24.6 KB
Binary file not shown.

assets/probes-proxies.png

-16.9 KB
Binary file not shown.

assets/probes-services.png

-26.7 KB
Binary file not shown.

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/VisualVMInstaller.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
import com.oracle.coherence.plugin.visualvm.impl.CoherenceClusterProvider;
3232

3333
import com.oracle.coherence.plugin.visualvm.tracer.cache.CacheMonitorPackage;
34+
import com.oracle.coherence.plugin.visualvm.tracer.cache.SelectedCacheMonitorPackage;
3435
import com.oracle.coherence.plugin.visualvm.tracer.cluster.ClusterMonitorPackage;
3536
import com.oracle.coherence.plugin.visualvm.tracer.elasticdata.ElasticDataMonitorPackage;
3637
import com.oracle.coherence.plugin.visualvm.tracer.federation.FederationMonitorPackage;
3738
import com.oracle.coherence.plugin.visualvm.tracer.persistence.PersistenceMonitorPackage;
3839
import com.oracle.coherence.plugin.visualvm.tracer.proxy.ProxyMonitorPackage;
40+
import com.oracle.coherence.plugin.visualvm.tracer.service.SelectedServiceMonitorPackage;
3941
import com.oracle.coherence.plugin.visualvm.tracer.service.ServiceMonitorPackage;
4042

4143
import org.graalvm.visualvm.application.Application;
@@ -120,7 +122,9 @@ public TracerPackage<Application>[] getPackages(Application application)
120122
new ClusterMonitorPackage(application),
121123
new ProxyMonitorPackage(application),
122124
new ServiceMonitorPackage(application),
125+
new SelectedServiceMonitorPackage(application),
123126
new CacheMonitorPackage(application),
127+
new SelectedCacheMonitorPackage(application),
124128
new FederationMonitorPackage(application),
125129
new ElasticDataMonitorPackage(application),
126130
new PersistenceMonitorPackage(application)

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/panel/CoherenceServicePanel.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,10 @@ public void updateData()
288288
// only include task averages where there is a thread count
289289
if (cThread > 0)
290290
{
291-
// update values for taks average duration
291+
// update values for task average duration
292292
cTotalTaskAverage++;
293293

294294
cAverage = (Float) entry.getValue().getColumn(ServiceMemberData.TASK_AVERAGE_DURATION);
295-
296295
nTotalTaskAverage += cAverage;
297296

298297
if (cAverage > nMaxTaskAverage)

0 commit comments

Comments
 (0)