Javamelody feeding to InfluxDB - two tags to distinguish data is not sufficiant
See original GitHub issueWe have a shared environment using Wildlfy instances running same application on multiple ports using different application configuration. This is working well so far. Now we try to embed the new InfluxDB feature at Javamelody and stumble upon the fact, that only two tags (columns) defines a unique entry.
app = taken from application,xml -> module/web/context-root host = well…ok.
Running ~ 50 application of same type on one server produces a lot of entries in InfluxDB, but all are merged into this
`select * from “javamelody.systemLoad” where time > now() -1h and host=‘vm-cos-int7.ops.local’; name: javamelody.systemLoad time application host value
1509975417000000000 /TOPJavaMelody vm-cos-int7.ops.local 1.08 1509975418000000000 /TOPJavaMelody vm-cos-int7.ops.local 1.15 1509975460000000000 /TOPJavaMelody vm-cos-int7.ops.local 1.23 1509975477000000000 /TOPJavaMelody vm-cos-int7.ops.local 1.24`
Is there a way to add another column, which can be used to provide more information or simply extend exiting parameter function “-Djavamelody.application-name=myapplication” to populate this column with something unique.
thx
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
I think that the
application-name
parameter is well suited for that case. It’s pushed now in master and ready for the next release (1.71). You can download a snapshot including the change at: https://javamelody.ci.cloudbees.com/job/javamelody/net.bull.javamelody$javamelody-core/Sorry. No idea at the moment. And it is not a known exception with javamelody.