You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .clabot
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@
7
7
"JainM6",
8
8
"swiatekm-sumo",
9
9
"docsSeema",
10
-
"@dependabot[bot]",
11
-
"dependabot[bot]",
12
10
"angadrandhawa1",
13
11
"kkujawa-sumo",
14
12
"open-source-collection-team",
@@ -74,9 +72,6 @@
74
72
"rikishi-c",
75
73
"Melvin-CnC",
76
74
"yuting-liu",
77
-
"jc-sumo",
78
-
"vfalconisumo",
79
-
"yuting-liu",
80
75
"arpitjain305",
81
76
"kparekh010",
82
77
"ajaiswals",
@@ -176,7 +171,7 @@
176
171
"antonymartinsumo",
177
172
"amee-sumo"
178
173
],
179
-
"message": "Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement and do not have yours on file. To proceed with your PR, please [sign your name here](https://forms.gle/YgLddrckeJaCdZYA6) and we'll add you to our approved list of contributors.",
174
+
"message": "Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement. To proceed with your PR, please [sign here](https://forms.gle/YgLddrckeJaCdZYA6) and we will add you to our approved list of contributors.",
180
175
"label": "cla-signed",
181
176
"recheckComment": "The GitHub CLA Bot is rechecking to see that you have signed our CLA."
Copy file name to clipboardExpand all lines: docs/integrations/app-development/opentelemetry/jmx-opentelemetry.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ Java Management Extensions (JMX) is a standard component of the Java Platform. J
15
15
16
16
The Sumo Logic app for JMX allows you to analyze and gain insights about Java applications. The dashboards provide a quick glance at various deployment metrics like memory, GC performance, and thread behavior, so you can troubleshoot unexpected behavior in your Java environment and the applications running in it.
17
17
18
+
:::info
19
+
This app includes [built-in monitors](#jmx-alerts). For details on creating custom monitors, refer to [Create monitors for JMX app](#create-monitors-for-jmx-app).
20
+
:::
21
+
18
22
## Metrics types
19
23
20
24
The Sumo Logic app for JMX collects metrics from Java applications via the [JMX Receiver for OpenTelemetry](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver).
@@ -29,7 +33,7 @@ The following types of metrics are collected from JMX:
29
33
30
34
For more information on different metrics collected, refer to the [JMX receiver docs](https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/jvm.md).
31
35
32
-
### Sample queries
36
+
### Sample metrics query
33
37
34
38
```sql
35
39
sumo.datasource=jmx metric=jvm.memory.heap.used
@@ -100,7 +104,7 @@ Click on the **Download YAML File** button to get the yaml file.
import LogsIntro from '../../../reuse/apps/opentelemetry/send-logs-intro.md';
106
110
@@ -180,13 +184,11 @@ If you have multiple Java processes running on the same host, then you need to s
180
184
<imgsrc='https://sumologic-app-data-v2.s3.amazonaws.com/dashboards/JMX-OpenTelemetry/JMX-Add-New-Host.png'alt="Add Another Host" />
181
185
:::
182
186
187
+
## Viewing JMX dashboards
183
188
184
-
185
-
## Viewing JMX Dashboards
186
-
187
-
:::tip Filter with template variables
188
-
Template variables provide dynamic dashboards that can rescope data on the fly. As you apply variables to troubleshoot through your dashboard, you view dynamic changes to the data for a quicker resolution to the root cause. You can use template variables to drill down and examine the data on a granular level. For more information, see [Filter with template variables](/docs/dashboards/filter-template-variables.md).
189
-
:::
189
+
All dashboards have a set of filters that you can apply to the entire dashboard. Use these filters to drill down and examine the data to a granular level.
190
+
- You can change the time range for a dashboard or panel by selecting a predefined interval from a drop-down list, choosing a recently used time range, or specifying custom dates and times. [Learn more](/docs/dashboards/set-custom-time-ranges/).
191
+
- You can use template variables to drill down and examine the data on a granular level. For more information, see [Filtering Dashboards with Template Variables](/docs/dashboards/filter-template-variables/).
190
192
191
193
### Overview
192
194
@@ -222,14 +224,10 @@ Use this dashboard to:
222
224
223
225
### Class Loading and Threads
224
226
225
-
The **JMX - Class Loading and Threads** dashboard shows key information about the number and type of threads deadlocked, peak, and GC threads of your java virtual machine running on the deployment.
226
-
227
-
Use this dashboard to:
228
-
* Identify abnormal spikes in Threads and Loaded Classes.
227
+
The **JMX - Class Loading and Threads** dashboard shows key information about the number and type of threads deadlocked, peak, and GC threads of your Java virtual machine running on the deployment. Use this dashboard to identify the abnormal spikes in Threads and Loaded Classes.
229
228
230
229
<imgsrc='https://sumologic-app-data-v2.s3.amazonaws.com/dashboards/JMX-OpenTelemetry/JMX-Class-Loading-and-Threads.png'alt="Class Loading and Threads" />
231
230
232
-
233
231
### Memory Pool
234
232
235
233
The **JMX - Memory Pool** dashboard provides key information about the memory pool usage, peak usage, collection usage, garbage collection across various memory pools of your Java virtual machine.
@@ -239,3 +237,18 @@ Use this dashboard to:
239
237
* Gain insights into garbage collection impact on different memory pools.
This app has been tested with following ActiveMQ versions:
23
-
* 5.17.4
24
-
* 5.18.2
22
+
This app has been tested with the following ActiveMQ versions:
23
+
*`5.17.4`
24
+
*`5.18.2`
25
+
26
+
:::info
27
+
This app includes [built-in monitors](#activemq-alerts). For details on creating custom monitors, refer to [Create monitors for ActiveMQ app](#create-monitors-for-activemq-app).
28
+
:::
25
29
26
30
## Log and metrics types
27
31
28
-
The Sumo Logic App for ActiveMQ assumes:
32
+
The Sumo Logic app for ActiveMQ uses:
29
33
30
-
- ActiveMQ app supports the below log format in the log4j2.properties file.
34
+
- ActiveMQ app supports the below log format in the `log4j2.properties` file.
31
35
32
-
*[Audit Logs](https://activemq.apache.org/audit-logging): Every management action made through JMX or Web Console management interface is logged in audit log files.
36
+
*[Audit Logs](https://activemq.apache.org/audit-logging). Every management action made through JMX or Web Console management interface is logged in audit log files.
- For a list of metrics that are collected and used by the app, see [ActiveMQ Metrics](https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/activemq.md).
44
+
- For a list of metrics that are collected and used by the app, refer to the [ActiveMQ Metrics](https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/activemq.md).
42
45
43
46
44
47
## Fields creation in Sumo Logic for ActiveMQ
45
48
46
-
Following are the [fields](/docs/manage/fields/) which will be created as part of ActiveMQ App install if not already present.
49
+
Following are the [fields](/docs/manage/fields/) which will be created as part of ActiveMQ app installation, if not already present.
47
50
48
51
*`messaging.cluster.name`. User configured. Enter a name to uniquely identify your ActiveMQ cluster. This cluster name will be shown in the Sumo Logic dashboards.
49
52
*`messaging.node.name`. Has value of `host name`.
@@ -55,7 +58,7 @@ If process metrics are enabled it will also create [fields for JMX metrics](/doc
55
58
56
59
## Prerequisites
57
60
58
-
### Configure logging in ActiveMQ:
61
+
### Configure logging in ActiveMQ
59
62
60
63
1. By default, ActiveMQ logs (`audit.log` and `activemq.log`) are stored in the directory called `${ACTIVEMQ_HOME}/data/activemq.log`. Make a note of this logs directory.
61
64
1.[Enable auditing](https://activemq.apache.org/audit-logging) if not enabled by default.
@@ -135,7 +138,7 @@ Click on the **Download YAML File** button to get the YAML file.
2010-12-2212:12:07,225 | INFO | admin requested /admin/createDestination.action [JMSDestination='test' JMSDestinationType='queue' secret='4eb0bc3e-9d7a-4256-844c-24f40fda98f1' ] from 127.0.0.1 | qtp12205619-39
229
228
2010-12-2212:12:14,512 | INFO | admin requested /admin/purgeDestination.action [JMSDestination='test' JMSDestinationType='queue' secret='eff6a932-1b58-45da-a64a-1b30b246cfc9' ] from 127.0.0.1 | qtp12205619-36
230
229
2010-12-2212:12:17,802 | INFO | admin requested /admin/sendMessage.action [JMSTimeToLive='' JMSXGroupSeq='' AMQ_SCHEDULED_DELAY='' JMSType='' JMSMessageCountHeader='JMSXMessageCounter' JMSXGroupID='' JMSReplyTo='' JMSDestination='test' AMQ_SCHEDULED_PERIOD='' JMSText='Enter some text
231
230
here for the message body...' JMSDestinationType='queue' AMQ_SCHEDULED_CRON='' JMSCorrelationID='' AMQ_SCHEDULED_REPEAT='' JMSMessageCount='1' secret='a0e1df62-14d6-4425-82a2-17aa01a16e7d' JMSPriority='' ] from 127.0.0.1 | qtp12205619-37
Template variables provide dynamic dashboards that rescope data on the fly. As you apply variables to troubleshoot through your dashboard, you can view dynamic changes to the data for a fast resolution to the root cause. For more information, see the [Filter with template variables](/docs/dashboards/filter-template-variables.md) help page.
266
+
All dashboards have a set of filters that you can apply to the entire dashboard. Use these filters to drill down and examine the data to a granular level.
267
+
- You can change the time range for a dashboard or panel by selecting a predefined interval from a drop-down list, choosing a recently used time range, or specifying custom dates and times. [Learn more](/docs/dashboards/set-custom-time-ranges/).
268
+
- You can use template variables to drill down and examine the data on a granular level. For more information, see [Filtering Dashboards with Template Variables](/docs/dashboards/filter-template-variables/).
The **ActiveMQ - Resource Utilization** dashboard provides an at-a-glance view of the state of system loads in clusters: Virtual memory usage, physical memory usage, CPU utilization, disk operations, disk writes, and I/O wait.
import CreateMonitors from '../../../reuse/apps/create-monitors.md';
344
+
345
+
<CreateMonitors/>
346
+
347
+
### ActiveMQ alerts
348
+
349
+
| Alert Name | Alert Description and conditions | Alert Condition | Recover Condition |
350
+
|:--|:--|:--|:--|
351
+
|`ActiveMQ - High CPU Usage Alert`| This alert gets triggered when CPU usage on a node in a ActiveMQ cluster is high. | Count >= 80 | Count < 80 |
352
+
|`ActiveMQ - High Memory Usage Alert`| This alert gets triggered when memory usage on a node in a ActiveMQ cluster is high. | Count >= 80 | Count < 80 |
353
+
|`ActiveMQ - High Storage Used Alert`| This alert gets triggered when there is high store usage on a node in a ActiveMQ cluster. | Count >= 80 | Count < 80 |
354
+
|`ActiveMQ - Maximum Connection Alert`| This alert gets triggered when one node in ActiveMQ cluster exceeds the maximum allowed client connection limit. | Count >= 1 | Count < 1 |
355
+
|`ActiveMQ - No Consumers on Queues Alert`| This alert gets triggered when a ActiveMQ queue has no consumers. | Count < 1 | Count >= 1 |
356
+
|`ActiveMQ - Node Down Alert`| This alert gets triggered when a node in the ActiveMQ cluster is down. | Count >= 1 | Count < 1 |
357
+
|`ActiveMQ - Too Many Connections Alert`| This alert gets triggered when there are too many connections to a node in a ActiveMQ cluster. | Count >= 1000 | Count < 1000 |
0 commit comments