Never mind. I was missing some configuration. 
I do see  

 kamon.logreporter.LogReporterSubscriber  : No user metrics reported

I need to get the kamon configuration for actorCount etc. 

On Friday, May 8, 2015 at 6:16:44 PM UTC-7, TS wrote:
>
> OK. 
> Good news: Using 2.3.10, no errors.
> However, I am using kamon log reporter. I do not see any actor metrics on 
> my logs. Should I enable something on application.conf?
>  
>
> On Friday, May 8, 2015 at 4:40:14 PM UTC-7, Ivan Topolnjak wrote:
>>
>> Oh, that can be a problem! We have not tested Kamon with 2.4 yet and 
>> probably the issue you are facing is due to Kamon's bytecode being liked to 
>> certain Akka internals that changed between 2.3 and 2.4. Is it possible for 
>> you to use Akka 2.3? I will let you know when we get ready to support Akka 
>> 2.4, regards!
>>
>> On Sat, May 9, 2015 at 1:20 AM TS <test.te...@gmail.com> wrote:
>>
>>> BTW, I am using akka 2.4-SNAPSHOT
>>>
>>>
>>> On Friday, May 8, 2015 at 3:54:41 PM UTC-7, TS wrote:
>>>>
>>>> This is what I have in the pom
>>>>
>>>> <dependency>
>>>>
>>>>       <groupId>io.kamon</groupId>
>>>>
>>>>       <artifactId>kamon-core_2.11</artifactId>
>>>>
>>>>       <version>0.3.5</version>
>>>>
>>>>     </dependency>
>>>>
>>>>     <dependency>
>>>>
>>>>       <groupId>io.kamon</groupId>
>>>>
>>>>       <artifactId>kamon-log-reporter_2.11</artifactId>
>>>>
>>>>       <version>0.3.5</version>
>>>>
>>>>     </dependency>
>>>>
>>>> <plugin>
>>>>
>>>>         <groupId>org.apache.maven.plugins</groupId>
>>>>
>>>>         <artifactId>maven-surefire-plugin</artifactId>
>>>>
>>>>         <version>2.18.1</version>
>>>>
>>>>         <configuration>
>>>>
>>>>           <argLine>-javaagent:<path to aspectjweaver
>>>> -1.7.4.jar></argLine>
>>>>
>>>>         </configuration>
>>>>
>>>>       </plugin>
>>>>
>>>>
>>>> and in my application.conf 
>>>>
>>>>
>>>> extensions = ["kamon.metric.Metrics"]
>>>>
>>>>
>>>> a test like will cause the error to happen.
>>>>
>>>>  @Test
>>>>
>>>>     public void testForFoo() {
>>>>
>>>>         final TestActorRef<FooActor> ref = TestActorRef.create(system, 
>>>> Props.create(FooActor.class), "testFoo");
>>>>
>>>>         Object obj = ref
>>>> .underlyingActor().testFoo(ByteString.fromArray("abc".getBytes()));
>>>>
>>>>     }
>>>>
>>>>
>>>> On Friday, May 8, 2015 at 4:47:36 AM UTC-7, Ivan Topolnjak wrote:
>>>>>
>>>>> Hello TS,
>>>>>
>>>>> I have been trying to find some additional info regarding this issue, 
>>>>> but couldn't find anything yet :(... is it possible for you to provide us 
>>>>> a 
>>>>> little example to reproduce the issue?
>>>>>
>>>>> On Fri, May 8, 2015 at 2:59 AM TS <test.te...@gmail.com> wrote:
>>>>>
>>>>>> Ivan, Any updates on this. Thanks in advance.
>>>>>>
>>>>>>
>>>>>> On Wednesday, May 6, 2015 at 11:05:54 AM UTC-7, TS wrote:
>>>>>>>
>>>>>>> Ivan, Sorry about the cross post. I was not sure where I should 
>>>>>>> post. I am using Kamon 0.3.5
>>>>>>>
>>>>>>> On Wednesday, May 6, 2015 at 5:51:27 AM UTC-7, Ivan Topolnjak wrote:
>>>>>>>>
>>>>>>>> Hello TS!
>>>>>>>>
>>>>>>>> I just replied to you other email, please disregard that thread and 
>>>>>>>> post your answer here.. what Kamon version are you using?
>>>>>>>>
>>>>>>>> On Wed, May 6, 2015 at 3:07 AM TS <test.te...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I just started using Kamon. I am getting an error while weaving 
>>>>>>>>> (This happens when my tests run. My surefire plugin has argLine with 
>>>>>>>>> javaagent pointing to aspectjweaver.jar
>>>>>>>>>
>>>>>>>>> Any words of wisdom would be appreciated. 
>>>>>>>>>
>>>>>>>>> Thanks in advance,
>>>>>>>>>
>>>>>>>>> TS
>>>>>>>>>
>>>>>>>>> java.lang.Exception: Unexpected exception, 
>>>>>>>>> expected<java.lang.ClassCastException> but 
>>>>>>>>> was<java.lang.IncompatibleClassChangeError>
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.instrumentation.ActorCellInstrumentation.afterCreation(ActorCellInstrumentation.scala:42)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorCell.<init>(ActorCell.scala:397)
>>>>>>>>>
>>>>>>>>> at akka.actor.LocalActorRef.newActorCell(ActorRef.scala:320)
>>>>>>>>>
>>>>>>>>> at akka.actor.LocalActorRef.<init>(ActorRef.scala:316)
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.actor.LocalActorRefProvider$$anon$1.<init>(ActorRefProvider.scala:574)
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.actor.LocalActorRefProvider.rootGuardian$lzycompute(ActorRefProvider.scala:574)
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.actor.LocalActorRefProvider.rootGuardian(ActorRefProvider.scala:573)
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.actor.LocalActorRefProvider.init(ActorRefProvider.scala:628)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:663)
>>>>>>>>>
>>>>>>>>> at 
>>>>>>>>> akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:660)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystemImpl._start(ActorSystem.scala:660)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystemImpl.start(ActorSystem.scala:676)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:143)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:110)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystem$.create(ActorSystem.scala:58)
>>>>>>>>>
>>>>>>>>> at akka.actor.ActorSystem.create(ActorSystem.scala:1)
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>> >>>>>>>>>> Check the FAQ: 
>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>> >>>>>>>>>> Search the archives: 
>>>>>>>>> https://groups.google.com/group/akka-user
>>>>>>>>> --- 
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "Akka User List" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>> send an email to akka-user+...@googlegroups.com.
>>>>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>  -- 
>>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>> >>>>>>>>>> Check the FAQ: 
>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>> >>>>>>>>>> Search the archives: 
>>>>>> https://groups.google.com/group/akka-user
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Akka User List" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to akka-user+...@googlegroups.com.
>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>  -- 
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: 
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives: 
>>> https://groups.google.com/group/akka-user
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to