Using boot2docker instead of Kitematic.

This is what I have

bash-3.2$ docker ps

CONTAINER ID        IMAGE                           COMMAND                
CREATED             STATUS              PORTS                              
                        NAMES

f4fd6e1d2139        kamon/grafana_graphite:latest   "/usr/bin/supervisor   
2 minutes ago       Up 48 seconds       8126/tcp, 0.0.0.0:32770->80/tcp, 
0.0.0.0:32770->8125/udp   romantic_galileo  

and my statsd

statsd {

    hostname = "192.168.59.103"

    port = 32770

    flush-interval = 5 second

    max-packet-size = 1024 bytes

    report-system-metrics = true

    includes {

      actor       = [ "*" ]

      trace       = [ "*" ]

      dispatcher  = [ "*" ]

    }

  }

The dash board

http://192.168.59.103:32770/#/dashboard/db/welcome still shows no data 
points. 

On Wednesday, May 13, 2015 at 5:33:39 AM UTC-7, Ivan Topolnjak wrote:
>
> TS,
>
> The port where the docker image is listening for UDP packets is not the 
> same as the HTTP port for the Grafana dashboard. Please make sure that both 
> port 80 and 8125 are exposed and then point the kamon-statsd module to the 
> appropriate mappings.
>
> If you run the image with this command: `docker run -d -p 80 -p 8125/udp 
> kamon/grafana_graphite` and then use `docker ps` you can see an output like 
> this:
>
> CONTAINER ID        IMAGE                                  COMMAND         
>        CREATED             STATUS              PORTS                       
>                                NAMES
> 4455e6ba5f07        kamon/grafana_graphite:2.0             
> "/usr/bin/supervisor   2 seconds ago       Up 2 seconds        8126/tcp, 
> *0.0.0.0:49153->8125/udp*, 0.0.0.0:49153->80/tcp   suspicious_carson   
>
> There you will see in the ports section which host port is mapped to the 
> 8125/udp port in your container. In that example it is 49153, so you should 
> point kamon-statsd to something like 192.168.99.100 at port 49153 on your 
> setup.
>
> Hope that it helps, regards!
>
> On Tue, May 12, 2015 at 8:31 PM TS <[email protected] <javascript:>> 
> wrote:
>
>> On OSX using Docker. Running the container using Kitematic. I have tried 
>> with VM IP and the port 
>>
>> My Kamon dashboard that launches has 
>> http://192.168.99.100:32768/#/dashboard/db/welcome
>>
>> I see Actor metrics using LogReporter. However on the dashboard, I just 
>> see 'No datapoints'
>>
>> My statsd settings are
>>
>> kamon{
>>  
>>
>>   statsd {
>>
>>     hostname = "192.168.99.100"
>>
>>     port = 32768
>>
>>     flush-interval = 2 second
>>
>>     max-packet-size = 1024 bytes
>>
>>     includes {
>>
>>       actor       = [ "user/myActor*" ]
>>
>>       trace       = [ "*" ]
>>
>>       dispatcher  = [ "*" ]
>>
>>     }
>>
>>     report-system-metrics = true
>> }
>>
>> On Tuesday, May 12, 2015 at 5:31:09 AM UTC-7, Ivan Topolnjak wrote:
>>
>>> Hello TS!
>>>
>>> May I ask what operating system are you using? Please remember that if 
>>> you are running on Windows or OSX then the Docker image is not really 
>>> started in your localhost but rather on a Virtualbox VM, you will need to 
>>> find the IP address of that machine and poing tha kamon-statsd module to 
>>> that IP.. regards!
>>>
>>
>>> On Mon, May 11, 2015 at 10:50 PM TS <[email protected]> wrote:
>>>
>>>> Diego, Thanks, 
>>>>
>>>> I have installed the docker container for grafana/graphite/statsd. 
>>>> However netstat does not show port 8125 to be open. Tried without host and 
>>>> port for statsd.
>>>>
>>>> However, I do see these messages while starting
>>>>
>>>> 2015-05-11 20:49:50,357 INFO supervisord started with pid 1 2015-05-11 
>>>> 20:49:51,360 INFO spawned: 'statsd' with pid 8 2015-05-11 20:49:51,362 
>>>> INFO spawned: 'graphite-webapp' with pid 9 2015-05-11 20:49:51,365 
>>>> INFO spawned: 'nginx' with pid 10 2015-05-11 20:49:51,367 INFO 
>>>> spawned: 'carbon-cache' with pid 11 2015-05-11 20:49:51,369 INFO 
>>>> spawned: 'elasticsearch' with pid 13 2015-05-11 20:49:51,373 INFO 
>>>> spawned: 'dashboard_loader' with pid 14 2015-05-11 20:49:52,428 INFO 
>>>> success: statsd entered RUNNING state, process has stayed up for > than 1 
>>>> seconds (startsecs) 2015-05-11 20:49:52,428 INFO success: 
>>>> graphite-webapp entered RUNNING state, process has stayed up for > than 1 
>>>> seconds (startsecs) 2015-05-11 20:49:52,428 INFO success: nginx 
>>>> entered RUNNING state, process has stayed up for > than 1 seconds 
>>>> (startsecs) 2015-05-11 20:49:52,428 INFO success: carbon-cache entered 
>>>> RUNNING state, process has stayed up for > than 1 seconds (startsecs) 
>>>> 2015-05-11 
>>>> 20:49:52,428 INFO success: elasticsearch entered RUNNING state, process 
>>>> has 
>>>> stayed up for > than 1 seconds (startsecs) 2015-05-11 20:49:52,428 
>>>> INFO success: dashboard_loader entered RUNNING state, process has stayed 
>>>> up 
>>>> for > than 1 seconds (startsecs)
>>>>
>>>> I can see the dashboard, However no metrics are shown. It says no data 
>>>> points. Any help is appreciated.
>>>>
>>>> I have this in my configuration
>>>>
>>>> kamon {
>>>>
>>>>
>>>>   #log-reporter {
>>>>
>>>>     #need this as a placeholder
>>>>
>>>>   #}
>>>>
>>>>  
>>>>
>>>>   metrics {
>>>>
>>>>     filters = [
>>>>
>>>>       {
>>>>
>>>>         actor {
>>>>
>>>>           includes = [ "user/*" ]
>>>>
>>>>           excludes = [ "system/*" ]
>>>>
>>>>         }
>>>>
>>>>       },
>>>>
>>>>       {
>>>>
>>>>         trace {
>>>>
>>>>           includes = [ "*" ]
>>>>
>>>>           excludes = []
>>>>
>>>>         }
>>>>
>>>>       }
>>>>
>>>>     ]
>>>>
>>>>
>>>>     tick-interval = 1 second
>>>>
>>>>   }
>>>>
>>>>   
>>>>
>>>>   # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>>
>>>>   statsd {
>>>>
>>>>     hostname = "127.0.0.1"
>>>>
>>>>     port = 8125
>>>>
>>>>     flush-interval = 1 second
>>>>
>>>>     max-packet-size = 1024 bytes
>>>>
>>>>     includes {
>>>>
>>>>       actor       = [ "*" ]
>>>>
>>>>       trace       = [ "*" ]
>>>>
>>>>       dispatcher  = [ "*" ]
>>>>
>>>>     }
>>>>
>>>>
>>>>     report-system-metrics = true
>>>>
>>>>   }
>>>>
>>>> On Saturday, May 9, 2015 at 1:58:00 AM UTC-7, Diego Parra wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> you can try with:  
>>>>>
>>>>> kamon {
>>>>>     ...
>>>>>     statsd {
>>>>>         ...
>>>>>         report-system-metrics = true
>>>>>         ...
>>>>>     }}
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Diego.
>>>>>
>>>>
>>>>> On Fri, May 8, 2015 at 10:27 PM, TS <[email protected]> wrote:
>>>>>
>>>>>> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 
>>>>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>>>>>> To post to this group, send email to 
>>>>>>>>>>>>>>> [email protected].
>>>>>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>>>>>> 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 [email protected].
>>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>>> 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 [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
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