-
Notifications
You must be signed in to change notification settings - Fork 2
Examples
Eiichi Sato edited this page Jul 24, 2020
·
4 revisions
Always start with this default configuration file, which should work for most applications.
Let's look at MBeans registered by Apache Flume:
org.apache.flume.channel:type=<CHANNEL1_NAME>org.apache.flume.channel:type=<CHANNEL2_NAME>org.apache.flume.sink:type=<SINK1_NAME>org.apache.flume.sink:type=<SINK2_NAME>- ...
It looks like the type key property should better go in to metric labels (unlike the type key property of java.lang or java.nio).
- pattern: 'org\\.apache\\.flume\\..*'
transform: |
!java
V1.transform(in, out, V1.snakeCase());