Skip to content

Commit a5bcd70

Browse files
author
R. Tyler Croy
committed
Add a super sweet ascii design
1 parent 61b5baa commit a5bcd70

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

HACKING.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
# Hacking Metrics Wizard
22

33

4-
## General Design
4+
## Design
55

6+
JMXMetric JMX Connector
7+
SNMPReporter <-. ^ |
8+
\ | |
9+
DatadogReporter <-- Reporter Transformation |
10+
/ ^ ^ |
11+
StatsdReporter <-` | | |
12+
| | v
13+
MetricsRegistry <--/register metric/-- BeanRegistry <--/mbean found/-- JMX Scanner
14+
15+
16+
17+
18+
19+
MetricsWizardConfiguration
20+
21+
22+
### JMXMetric
23+
24+
25+
### Transformation
26+
27+
Requirements:
28+
29+
* Must be able to transform the value
30+
* Must be able to transform the name of the metric
31+
* Must be configurable from the YAML configuration for a specific mbean name.
32+
E.g.
33+
`org.apache.ZookeeperService`ReplicatedServer_id1.QuorumSize=com.github.lookout.metricswizard.transforms..FancyIntTranform`
34+
* Should be configurable from the YAML configuration for a regular expression
35+
pattern
636

0 commit comments

Comments
 (0)