-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kamon/util/GlobPathFilter : Unsupported major.minor version 51.0 #42
Comments
We are building for Java 1.7 by default, is it possible for you to upgrade? |
No, it's not possible. Do you recommend any other setup or tools for monitoring with Datadog? |
Well, there is no particular reason why we are building for 1.7 other than being the default on our side.. I just published kamon |
Thanks a lot! I used this info: http://kamon.io/backends/datadog/ and I have a datadog agent running on my machine. Do you have a sample of the datadog.conf settings? I can't find anything with "kamon" in the metric explorer. |
did you include the Datadog extension in your akka configuration as show bellow?
|
Yes, I have. Here's my kamon config: kamon {
} Default dispatcher for all Kamon components, unless a more specific one is configured.default-dispatcher = "akka.actor.default-dispatcher" metrics {
} weaver {
} What is the minimum configuration that I need to have for datadog.conf? |
The minimum would be not providing any custom configuration for kamon-datadog. The default values assume that your datadog agent is running locally on port 8125, so it should work just by adding this to your configuration file:
I can't find that section on your message, are you really sure it is there? Then, you should modify the filters accordingly to your needs. |
Yes, this is my akka config: Akka settingsakka {
} I have the following set for datadog.conf Do I need this set? |
It's an Akka standalone application - I'm assuming it would work. |
the port that you care about in the datadog agent configuration is the Also, are you starting your application with the -javaagent:/path-to-aspectj-weaver.jar option? |
Yes, I did so and here's the Starting Kamon(Datadog) msg: [INFO] [07/03/2014 12:29:21.148] [main] [DatadogExtension(akka://batch-statements)] Starting the Kamon(Datadog) extension All I have set in datadog.conf are: |
If you do a |
and, what do the |
dogstatsd.packet.count graph shows zero. |
I see that you are running windows, maybe there is some weird thing going on with the windows firewall that might be blocking those packets? |
Surely the agent is not receiving any metrics from Kamon... What about sending a metric packet manually to DatadogStatsD and make sure it is working?, if you use this:
you should be able to see that metric on your dashboard shortly after. |
Hello there! I was wondering if you were able to manually post the the metrics to your datadog agent?, also I did a more detailed review on the reasons of the bug that initially started this issue and found that we needed to pass a couple more options to the Java compiler for that specific class, that has been solved by c6b8918. |
Hi, I was able to see that the packet was received in datadog.dogstatsd.packet.count graph on the dashboard. However, I don't see a metric listed as "sample-latency". While running the application with the SNAPSHOTS from earlier, I don't see any packets on the graph (count=0). I tried that build c6b8918 but no packets on the graph. Also, no new metrics. |
@labrg I'm running out of ideas now, if you are manually posting a metric to the agent and it doesn't show it on your datadog dashboard we have reached a point where there is very little I can do to help, it might be that something is not configured properly in your agent but probably the datadog support guys can do a lot more for you than I.. could you please contact them and make sure that when you report a metric it gets to Datadog and then come back to use to troubleshoot what might be wrong with Kamon?, I'm really sorry for not being able to do more for you at this point. |
@ivantopo Thanks for all your feedback. I got in touch with datadog - according to them, a bug affects their windows agent. Here's the change they recommended (adding a pipe at the end of the packet) This does show the metric on the dashboard. Is there anything that can be done with Kamon to work with this bug or should I talk to datadog about it? |
Did they mention if reporting metrics with that format will work properly on Linux/OSX? |
Also, please try sending a packet like the one bellow and tell me if it is accepting it correctly:
|
and what about this one:
|
Yes, that works as well. |
well, those are the two ways in which Kamon send metrics to datadog, maybe there is a problem with multiple metrics in the same packet? Tell me if something like this works:
|
@ivantopo Yeah, it works with bash. (echo -e ...) |
@labrg I just opened #52 to track the compatibility issues between kamon-datadog and the Windows Datadog agent, let's track that problem there and close this one which original motivation has been already solved, thanks. |
Exception in thread "main" java.lang.UnsupportedClassVersionError: kamon/util/GlobPathFilter : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLlassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
Kamon:
io.kamon
kamon-core_2.10
0.3.1
io.kamon
kamon-datadog_2.10
0.3.1
JDK 1.6
The text was updated successfully, but these errors were encountered: