Skip to content

Commit 05c951b

Browse files
author
Tim Middleton
authored
Prepare for 1.7.0 release (#79)
* Add option to display partition stats * Sonarcloud updates * Add view cache on Cache tab * Initial version of tracer support * Add service and proxy probes * add federation and elastic data probes
1 parent 5e5f889 commit 05c951b

File tree

71 files changed

+4581
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4581
-127
lines changed

.github/workflows/test-against-released.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- 22.06.6
4848
- 23.09
4949
- 23.09.1
50+
- 23.09.2
5051

5152
steps:
5253
- name: Checkout
@@ -59,6 +60,17 @@ jobs:
5960
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6061
restore-keys: ${{ runner.os }}-m2
6162

63+
- name: Set up JDK 8 for Tracer Build
64+
uses: actions/setup-java@v3
65+
with:
66+
java-version: '8'
67+
distribution: 'temurin'
68+
69+
- name: Build Tracer
70+
shell: bash
71+
run: |
72+
cd ./scripts && ./install-tracer-library.sh && cd ..
73+
6274
- name: Set up JDK 11 for Build
6375
uses: actions/setup-java@v3
6476
with:

.github/workflows/test-against-snapshot-1440.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,16 @@ jobs:
5757
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
5858
restore-keys: ${{ runner.os }}-m2-snapshots
5959

60-
- name: Set up JDK 8 for Build
60+
- name: Set up JDK 8 for Tracer Build
6161
uses: actions/setup-java@v3
6262
with:
63-
java-version: 8
64-
distribution: 'zulu'
63+
java-version: '8'
64+
distribution: 'temurin'
65+
66+
- name: Build Tracer
67+
shell: bash
68+
run: |
69+
cd ./scripts && ./install-tracer-library.sh && cd ..
6570
6671
- name: Print Versions
6772
run: mvn -version && ant -version

.github/workflows/test-against-snapshot.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, 2023 Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020, 2024 Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
coherenceVersion:
47-
- 23.09.2-SNAPSHOT
47+
- 23.09.3-SNAPSHOT
4848
- 22.06.8-SNAPSHOT
4949

5050
steps:
@@ -58,6 +58,17 @@ jobs:
5858
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
5959
restore-keys: ${{ runner.os }}-m2-snapshots
6060

61+
- name: Set up JDK 8 for Tracer Build
62+
uses: actions/setup-java@v3
63+
with:
64+
java-version: '8'
65+
distribution: 'temurin'
66+
67+
- name: Build Tracer
68+
shell: bash
69+
run: |
70+
cd ./scripts && ./install-tracer-library.sh && cd ..
71+
6172
- name: Set up JDK 17 for Build
6273
uses: actions/setup-java@v3
6374
with:

README.md

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ NOTE: The most current version of the Plugin requires VisualVM release 2.1 or la
2626
3. [Connecting to a Coherence Cluster](#connect)
2727
4. [Changing the Plugin Behaviour via the Options Tab](#prefs)
2828
5. [Monitoring Capabilities](#capabilities)
29-
6. [Building the Plugin](#build)
29+
6. [Using Coherence with the Tracer framework](#tracer)
30+
7. [Building the Plugin](#build)
3031

3132
## <a id="versions"></a> Supported Coherence Versions
3233

3334
The Plugin will connect to and display data for the following Coherence versions:
3435

35-
* **Community Editions**: 22.06.x, 21.12.x (*), 14.1.1.0.x
36+
* **Community Editions**: 24.03.x, 23.09.x, 22.06.x, 21.12.x (*), 14.1.1.0.x
3637

3738
* **Commercial Editions**: 14.1.1.2206.x, 14.1.1.0.x, 12.2.1.5.x, 12.2.1.4.x 12.1.3.x and 12.1.2.x
3839

@@ -192,6 +193,57 @@ Depending upon the edition and functionality you are using, the following option
192193
* **gRPC Proxies** – If your cluster is configured with gRPC Proxies, this tab displays information about the requests sent and received as well as successful and failed requests. A Graph of message rates and durations is also displayed. This tab will only show when connected via JMX and is not supported for REST connections. See [here](https://github.com/oracle/coherence-visualvm/blob/main/help/help.adoc#GrpcProxyTableModel) for more details.
193194
* **Health** – If your cluster supports the Health Check API, this tab displays information regarding the status of all health endpoints. See [here](https://github.com/oracle/coherence-visualvm/blob/main/help/help.adoc#HealthSummaryTableModel) for more details.
194195

196+
## <a id="tracer"></a> Using Coherence with the Tracer framework
197+
198+
Version 1.7.0 of the Coherence VisualVM Plugin introduces initial integration with the VisualVM Tracer framework.
199+
200+
From the VisualVM website
201+
202+
> The VisualVM Tracer framework provides detailed monitoring and analyzing Java applications. Using various probes,
203+
> the Tracer gathers metrics from an application and displays the data in a timeline. The data are
204+
> displayed both graphically and in a table and can be exported to common formats for further processing
205+
> by external tools.
206+
207+
When you connect to a cluster via JMX, you will see the `Tracer` tab as shown below:
208+
209+
&nbsp;&nbsp; ![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+
&nbsp; &nbsp; ![Cluster Overview](assets/probes-cluster-overview.png)
219+
220+
*Services*
221+
222+
&nbsp; &nbsp; ![Cluster Overview](assets/probes-services.png)
223+
224+
*Caches*
225+
226+
&nbsp; &nbsp; ![Caches](assets/probes-caches.png)
227+
228+
*Proxy Servers*
229+
230+
&nbsp; &nbsp; ![Proxy Servers](assets/probes-proxies.png)
231+
232+
*Persistence*
233+
234+
&nbsp; &nbsp; ![Persistence](assets/probes-persistence.png)
235+
236+
*Federation*
237+
238+
&nbsp; &nbsp; ![Federation](assets/probes-federation.png)
239+
240+
*Elastic Data*
241+
242+
&nbsp; &nbsp; ![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.
195247
196248
## <a id="build"></a> Building the Plugin
197249

@@ -204,6 +256,11 @@ You must have the following:
204256
1. Java JDK 11+ - To build and test the plugin
205257
2. Maven 3.6.3+
206258
3. Git
259+
260+
Note:
261+
To install the tracer support, you must also run the script `./scrips/install-tracer-library.sh`
262+
263+
Ensure you set your environment to JDK 1.8 to run this script.
207264

208265
### Clone the Repository
209266

assets/probes-caches.png

16.6 KB
Loading

assets/probes-cluster-overview.png

40.4 KB
Loading

assets/probes-elastic-data.png

27.3 KB
Loading

assets/probes-federation.png

31.3 KB
Loading

assets/probes-persistence.png

24.6 KB
Loading

assets/probes-proxies.png

16.9 KB
Loading

0 commit comments

Comments
 (0)