Skip to content

Commit

Permalink
Make instance name a wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarhane committed Jan 15, 2019
1 parent 4676981 commit 970635b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/modules/jmx/jmxDuck.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export const getJmxValues = ({ jmx }, arr) => {
*/

const jmxQuery = `
CALL dbms.queryJmx("org.neo4j:instance=kernel#0,name=Kernel") yield attributes
CALL dbms.queryJmx("org.neo4j:instance=*,name=Kernel") yield attributes
RETURN {name: 'Kernel', data: collect(attributes)} as result
UNION ALL
CALL dbms.queryJmx("org.neo4j:instance=kernel#0,name=Store file sizes") yield attributes
CALL dbms.queryJmx("org.neo4j:instance=*,name=Store file sizes") yield attributes
RETURN {name: 'Store file sizes', data: collect(attributes)} as result
UNION ALL
CALL dbms.queryJmx("org.neo4j:instance=kernel#0,name=Configuration") yield attributes
CALL dbms.queryJmx("org.neo4j:instance=*,name=Configuration") yield attributes
RETURN {name: 'Configuration', data: collect(attributes)} as result
`

Expand Down

0 comments on commit 970635b

Please sign in to comment.