jmxtrans / jmxtrans-agent

Java Agent based JMX metrics exporter.
MIT License
178 stars 110 forks source link

Provide bundled configuration files #82

Closed kerlandsson closed 6 years ago

kerlandsson commented 8 years ago

To make it easier for users to get started with jmxtrans-agent it might be helpful to provide some bundled configuration files. That would make it possible to test jmxtrans-agent without having to go through the hassle creating a configuration file. I can also imagine that for some use cases these bundled files would be good enough.

I'm thinking a configuration that polls the typical MBeans on a vanilla HotSpot JVM like memory, GC, threads, CPU, ...

We could bundle configuration files for the most common output writers and use property expansion with reasonable defaults to allow users to configure the specifics with system properties or a properties file.

Thoughts?

cyrille-leclerc commented 8 years ago

It's a great idea. We could reuse some default configs written for embedded-jmxtrans: https://github.com/jmxtrans/embedded-jmxtrans/tree/master/src/main/resources/org/jmxtrans/embedded/config

Cyrille

gliptak commented 7 years ago

I converted the JSON files at https://github.com/jmxtrans/embedded-jmxtrans/tree/master/src/main/resources/org/jmxtrans/embedded/config to XML files (just the query lines, untested ...). Would you like me to upload them (and to where)? Thanks

simmel commented 6 years ago

Since #89 is merged this can be closed, right?

cyrille-leclerc commented 6 years ago

Thanks @simmel , you are right