-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JMX Prometheus agent
- Loading branch information
Rafał Leszko
authored
Mar 7, 2019
1 parent
c07cb08
commit 7874ceb
Showing
7 changed files
with
128 additions
and
32 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
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
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 @@ | ||
--- | ||
ssl: false | ||
#lowercaseOutputName: false | ||
#lowercaseOutputLabelNames: false | ||
whitelistObjectNames: ["com.hazelcast:*"] | ||
rules: | ||
# HELP com_hazelcast_hzInstance_1_dev_clusterTime Cluster-wide Time (com.hazelcast<instance=_hzInstance_1_dev, name=_hzInstance_1_dev, type=HazelcastInstance><>clusterTime) | ||
#com.hazelcast:instance=_hzInstance_1_dev,name=_hzInstance_1_dev,type=HazelcastInstance.PartitionServiceMBean | ||
- pattern: '<instance=(\w+), name=(\w+), type=(.*)><>(.*):' | ||
name: hazelcast_$3_$4 | ||
#value: $4 | ||
#valueFactor: 0.001 | ||
labels: | ||
instance: $1 | ||
name: $2 | ||
type: $3 | ||
help: "Hazelcast metric instance=$1 name=$2 type=$3 attribute=$4" | ||
attrNameSnakeCase: false | ||
- pattern: '<name=(\w+), instance=(\w+), type=(\w+.*)' | ||
name: hazelcast_$1_$3 | ||
labels: | ||
instance: $2 | ||
name: $1 | ||
type: $3 | ||
help: "Hazelcast metric instance=$1 name=$2 type=$3" | ||
attrNameSnakeCase: false |
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
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
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 @@ | ||
--- | ||
ssl: false | ||
#lowercaseOutputName: false | ||
#lowercaseOutputLabelNames: false | ||
whitelistObjectNames: ["com.hazelcast:*"] | ||
rules: | ||
# HELP com_hazelcast_hzInstance_1_dev_clusterTime Cluster-wide Time (com.hazelcast<instance=_hzInstance_1_dev, name=_hzInstance_1_dev, type=HazelcastInstance><>clusterTime) | ||
#com.hazelcast:instance=_hzInstance_1_dev,name=_hzInstance_1_dev,type=HazelcastInstance.PartitionServiceMBean | ||
- pattern: '<instance=(\w+), name=(\w+), type=(.*)><>(.*):' | ||
name: hazelcast_$3_$4 | ||
#value: $4 | ||
#valueFactor: 0.001 | ||
labels: | ||
instance: $1 | ||
name: $2 | ||
type: $3 | ||
help: "Hazelcast metric instance=$1 name=$2 type=$3 attribute=$4" | ||
attrNameSnakeCase: false | ||
- pattern: '<name=(\w+), instance=(\w+), type=(\w+.*)' | ||
name: hazelcast_$1_$3 | ||
labels: | ||
instance: $2 | ||
name: $1 | ||
type: $3 | ||
help: "Hazelcast metric instance=$1 name=$2 type=$3" | ||
attrNameSnakeCase: false |
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