forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Metricbeat can call Jolokia with GET requests. (elastic#8566) (elasti…
…c#9226) Add a new `http_method` parameter to Jolokia module which by default will have the value POST and can accept GET as well. Fixes elastic#8566. (cherry picked from commit 463ce3e)
- Loading branch information
Showing
8 changed files
with
1,196 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
metricbeat/module/jolokia/jmx/_meta/test/jolokia_get_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"request": { | ||
"mbean": "java.lang:type=Memory", | ||
"attribute": [ | ||
"HeapMemoryUsage", | ||
"NonHeapMemoryUsage" | ||
], | ||
"type": "read" | ||
}, | ||
"value": { | ||
"HeapMemoryUsage": { | ||
"init": 1073741824, | ||
"committed": 1037959168, | ||
"max": 1037959168, | ||
"used": 227420472 | ||
}, | ||
"NonHeapMemoryUsage": { | ||
"init": 2555904, | ||
"committed": 53477376, | ||
"max": -1, | ||
"used": 50519768 | ||
} | ||
}, | ||
"timestamp": 1472298687, | ||
"status": 200 | ||
} |
Oops, something went wrong.