question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Javamelody feeding to InfluxDB - two tags to distinguish data is not sufficiant

See original GitHub issue

We 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
evernatcommented, Nov 10, 2017

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/

0reactions
evernatcommented, Nov 15, 2017

Sorry. No idea at the moment. And it is not a known exception with javamelody.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Query Data between Two Tags - InfluxData Community Forums
Hello everyone, I'm using InfluxDB 2.0.7 and I would like to query data between two tags, but I don't know how to write...
Read more >
Flux max() - min() for two different tags aggregated per day
I'm trying to build an energy dashboard on grafana using flux. Home assistant is feeding influxdb 2.0. I have a kWh measurement and...
Read more >
TL;DR InfluxDB Tech Tips — Aggregating across Tags or ...
How you can perform aggregations across fields or measurements by taking advantage of the group() function to both group and ungroup your data...
Read more >
Explore data using InfluxQL | InfluxDB OSS 1.8 Documentation
The query selects all fields and tags from two measurements: h2o_feet and h2o_pH . Separate multiple measurements with a comma ( , )....
Read more >
InfluxDB key concepts - InfluxData Documentation
In general, fields should not contain commonly-queried metadata. The last two columns in the sample data, called location and scientist , are tags....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found