by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 07:19
    paascloud starred kamon-io/Kamon
  • Jan 30 2019 20:59
    eugenemiretsky opened #568
  • Jan 30 2019 17:59
    eabizeid starred kamon-io/Kamon
  • Jan 30 2019 06:39
    PDimitryuk starred kamon-io/Kamon
  • Jan 25 2019 15:52
    sjoerdmulder opened #567
  • Jan 23 2019 20:05

    dpsoft on 1.1.5

    (compare)

  • Jan 23 2019 19:56

    dpsoft on v1.1.5

    (compare)

  • Jan 23 2019 19:48

    dpsoft on 1.1.5

    * Update Hdr * lazy vals in Kam… (compare)

  • Jan 22 2019 12:17
    andreas-schroeder opened #566
  • Jan 16 2019 18:34
    nodox starred kamon-io/Kamon
  • Jan 06 2019 14:21
    kencyke starred kamon-io/Kamon
  • Jan 06 2019 12:47
    ivantopo edited #565
  • Jan 06 2019 12:46
    ivantopo synchronize #565
  • Jan 06 2019 12:45
    ivantopo review_requested #565
  • Jan 06 2019 12:45
    ivantopo opened #565
  • Jan 06 2019 11:38

    ivantopo on master

    clean references to scheduled r… (compare)

  • Jan 05 2019 15:20
  • Jan 02 2019 17:02
    l15k4 starred kamon-io/Kamon
  • Dec 29 2018 08:03
    zbd0518 starred kamon-io/Kamon
  • Dec 27 2018 09:17
    ivantopo commented #563
Sergey Morgunov
@ihostage
:wave: We missed you :disappointed:
Ivan Topolnjak
@ivantopo
lol
Sergey Morgunov
@ihostage
It’s true :joy:
Ivan Topolnjak
@ivantopo
still, I'm seeing people helping each other around here, that's super awesome!
not much need for me around here :joy:
@leon-daniel to be honest, I'm not really sure of how it woks with G1, it might be that all GCs are reported as young or that we are actually missing something specific for G1
regarding prom, metrics must be exposed in base units for Prometheus to scrape, see more info here
in the case of time, the base unit is seconds
Chetan Mehrotra
@chetanmeh

For integrating with New Relic whats the recommended way. I see few repos

  1. https://github.com/kamon-io/kamon-newrelic - This is now archived
  2. https://github.com/kamon-io/Kamon/tree/master/reporters/kamon-newrelic - It does not have README detailing how to use
  3. https://github.com/newrelic/kamon-newrelic-reporter - This is also archived

https://kamon.io/docs/latest/reporters/ - It does not list Kamon New Relic reporter. So not sure if its currently supported

Ivan Topolnjak
@ivantopo
hey @chetanmeh, actually those three repositories ended up in the same place (your option number 2) and that's the latest and greatest
the reporter is not yet listed on the website but that reporter is the right one, it was actually developed by folks from New Relic! If you have any questions just drop them here and maybe mention @jkwatson, he will most likely know the right answers in anything related to the NR reporter!
Chetan Mehrotra
@chetanmeh
Thanks @ivantopo for confirming. Was looking for steps and some help doc. Would try to work out using existing README from one of the archived repo
John Watson
@jkwatson
We should move the old README over from the archived project
John Watson
@jkwatson
Hi @chetanmeh . I'm going to connect you with @abhihub , who can help make sure you can get the support you need.
Chetan Mehrotra
@chetanmeh
Thanks John. I am going through the readme and would try to integrate. Would ping once I make any progress. Thanks for reaching out!
John Watson
@jkwatson
great!
abhihub
@abhihub
@chetanmeh Hi Chetan, let me know if you need anything else
1 reply
davidnaughton
@davidnaughton
Hey Guys, im new to Kamon and looking for some tutorials about setting up kamon with AKKA and sending these metrics to an elasticsearch cluster and visualising the metrics in kibana . thanks
Matt Fulgo
@mfulgo

I'm attempting to get Kamon tracing set up with a DataDog reporter for APM. I've noticed the following warning in the DataDog agent logs:

Error getting trace count: "HTTP header \"X-Datadog-Trace-Count\" not found". Functionality may be limited.

I'm wondering if this is a bug and possibly why I'm not seeing every trace get to the dashboard.

Ivan Topolnjak
@ivantopo
@mfulgo have you checked your sampler configuration?
it might be that traces are just not being sampled
Matt Fulgo
@mfulgo
Ah. I'll dig into that. Having read some documentation about Spans always getting captured, I didn't realize that's not the case for the requests/traces as a whole. Thanks.
Ivan Topolnjak
@ivantopo
yeap.. a sampling decision is taken with the very first request and then carried around to all related requests and services
@davidnaughton setting up Kamon for an Akka application is the same as for any other application and the Get Started steps should be enough to get you going. But, there is no reporter for Elasticsearch :confused:
Matt Fulgo
@mfulgo
It looks like the @Segment annotation went away at some point. I was wondering if there's a way to annotate methods to add spans to a trace? Or do we need to add Kamon.withSpan(...) into methods we want to measure?
Matt Fulgo
@mfulgo
@ivantopo - Is there any way to automatically create Spans for all Scala Futures ? (I imagine that could become quite noisy, but it might be worth it...) https://kamon.io/docs/latest/instrumentation/futures/#creating-spans explains how to do it manually, but that would end up being a lot of code I'd have to add in order to get meaningful traces, given all the places in which we create futures...
Matt Fulgo
@mfulgo
Okay... to do what I want to do - instrument a number of classes without having to annotate every method - I'm looking at creating a custom kanela instrumentation module. However, it seems to not be attaching the OnMethodEnter/Exit advice, and my instrumentation module is greyed out on the Kamon status page. (Looking at the kanela debug logging, it loaded my module) Is there something I have to do to activate the module, besides adding my own section to kanela.modules?
30 replies
Alexis Hernandez
@AlexITC
Hi, I'm trying Kamon but got an example that doesn't compile, is there any equivalent method to the refine one?
val operationLatency = Kamon.timer("operation-latency")
  .refine("operation" -> "login")
Alexis Hernandez
@AlexITC
looks like withTag(name, value) seems the way it works now
Alexis Hernandez
@AlexITC
The docs seem to be outdated, similarly Kamon.gauge("users").set(42) doesn't compile, you need to set tags or specify you don't need them to be able to call set
Alexis Hernandez
@AlexITC
for the people that doesn't use AMP, what do you use?
Alexis Hernandez
@AlexITC
another question, has anyone seen this error? [spans-ingestion] request declined, unknown error it started occurring on my server
Matt Fulgo
@mfulgo
@AlexITC - I'm currently trying out Datadog and am pretty pleased with their offering so far. That said, unless you have specific reasons you can't use it, I'd recommend checking out the Kamon hosted APM service. It's probably going to be more cost effective than a lot of other options and will help support the project.
Alexis Hernandez
@AlexITC
You mean self-hosted? I'm trying the Kamon APM service which seems useful but I have problems with the data retention, while it's ok for most metrics I would like to keep some metrics with longer retention periods, I'm even considering to mount everything by myself
3 replies
Paweł Kiersznowski
@pk044
hey guys, how can I turn off the span metrics? I already tried span-metrics = off but it still reports them
Ivan Topolnjak
@ivantopo
hey @pk044, these other spans that you are seeing metrics for.. are they related to the HTTP client/server instrumentation or just some other spans?
Matt Fulgo
@mfulgo

Okay... to do what I want to do - instrument a number of classes without having to annotate every method - I'm looking at creating a custom kanela instrumentation module. However, it seems to not be attaching the OnMethodEnter/Exit advice, and my instrumentation module is greyed out on the Kamon status page. (Looking at the kanela debug logging, it loaded my module) Is there something I have to do to activate the module, besides adding my own section to kanela.modules?

@ivantopo - Any thoughts on this?

Paweł Kiersznowski
@pk044
mainly Akka, I was thinking if it was possible to filter them out somehow? @ivantopo
79 replies
Paweł Kiersznowski
@pk044
hmm.. i just tested it (without filtering the span metrics) on a fresh datadog instance and i don't see the span.processing_time metrics.. pretty weird
Paweł Kiersznowski
@pk044
image.png
xtao-talend
@xtao-talend
Hello Kamon Team,
I met a problem when starting the kanela-agent with kamon-bundle 2.0.0 , I have this error , but I don't have any idea how to fix it . It runs in Play Application
here is log 2020-06-04 09:26:14 [main] kanela.agent.util.log.Logger.error()
ERROR: It has not been found any configuration for Kanela Agent.: kanela.agent.libs.com.typesafe.config.ConfigException$UnresolvedSubstitution: reference.conf @ jar:file:/lib/io.kamon.kamon-bundle_2.11-2.0.0.jar!/reference.conf: 497: Could not resolve substitution to a value: ${kamon.metric.tick-interval}
at kanela.agent.libs.com.typesafe.config.impl.ConfigReference.resolveSubstitutions(ConfigReference.java:111)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject$ResolveModifier.modifyChildMayThrow(SimpleConfigObject.java:380)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:313)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:399)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject$ResolveModifier.modifyChildMayThrow(SimpleConfigObject.java:380)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:313)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:399)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject$ResolveModifier.modifyChildMayThrow(SimpleConfigObject.java:380)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:313)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:399)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject$ResolveModifier.modifyChildMayThrow(SimpleConfigObject.java:380)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:313)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:399)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject$ResolveModifier.modifyChildMayThrow(SimpleConfigObject.java:380)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:313)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:399)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.realResolve(ResolveContext.java:179)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:142)
at kanela.agent.libs.com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:231)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfig.resolveWith(SimpleConfig.java:78)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:68)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:63)
at kanela.agent.libs.com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:41)
at kanela.agent.libs.com.typesafe.config.impl.ConfigImpl$1.call(ConfigImpl.java:409)
at kanela.agent.libs.com.typesafe.config.impl.ConfigImpl$1.call(ConfigImpl.java:402)
at kanela.agent.libs.c
Khal!l
@redkhalil
Is there a way to disable kamon-bundle 2.1 ( Kamon.init() ) using configuration?
John Watson
@jkwatson
Are there nightly builds, or snapshots or something available somewhere?
John Watson
@jkwatson
or, maybe a better question: when is the next release happening?
François Monniot
@fmonniot
Hello there,
I have been trying to use the executor-service-capture-on-submit tracing system instead of the regular executor-service but it doesn't capture spans on java.util.concurrent.ScheduledExecutorService (there is no instrumentation for it). Is it a voluntary omission or just something that was never asked for ?
3 replies
Khal!l
@redkhalil
Hi, is there a reference repository for akka-http? I was using kamon v1 so far and it's been working, but upon migrating to v2 I'm unable to anything from kamon even though the status page says everything is good.
Khal!l
@redkhalil
Is there a preferred version of akka and akka-http to be used with kamon-bundle 2.1?