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
Ivan Topolnjak
@ivantopo
will use some time this morning on it
Sean Kwak
@cosmir17
@ivantopo Thank you, Ivan for your professional kindness. I appreciate it so much! I starred the major kamon repositories :tada:
Ivan Topolnjak
@ivantopo
thanks man!
Ivan Topolnjak
@ivantopo
@cosmir17 @dlpb we just released the sbt-kanela-runner 2.0.4, it fixes the environment variables issue and also ensures that javaOptions in run will work
Mateusz Wójcik
@matwojcik
@ivantopo are you planning to release kamon-zipkin any time soon? :)
Ivan Topolnjak
@ivantopo
yeap, doing it right now
Mateusz Wójcik
@matwojcik
thx. BTW I've briefly tested newrelic module once I've managed to fix compilation issues, and it does pretty much the same what zipkin reporter would do when pointed to newrelic api. I mean span reporting, as I didn't check the metrics.
Ivan Topolnjak
@ivantopo
that's a good thing :)
Ivan Topolnjak
@ivantopo
done
already on bintray and now syncing with maven central
:tada:
Mateusz Wójcik
@matwojcik
thx :)
Ivan Topolnjak
@ivantopo
thanks for the help!
Antoine Kalmbach
@ane
just upgraded to Kamon 2.0.0, with akka-http, are the X-B3 headers supposed to have disappeared? now there's only trace-id in the responses
the status page reports everything is fine
Ivan Topolnjak
@ivantopo
hey @ane, the headers are no longer there by default on the responses
mostly because they were not being used at all, there is no "backwards" propagation of this info.. but, given that most of the time people want to see these headers in responses we added settings for it:
Antoine Kalmbach
@ane
yeah, I've spent the better half of a day trying to figure out how to put them back on :P
Antoine Kalmbach
@ane
now at least I know very much about certain tests inside Kamon. and several other tidbits
Ivan Topolnjak
@ivantopo
if you want them to be B3-like, just set the names you want in those settings :)
Antoine Kalmbach
@ane
ah, right. what about the sampling decision etc. that was seen before?
Ivan Topolnjak
@ivantopo
yeah, now that you mention it, we should have included that as well
:/
Antoine Kalmbach
@ane
I see there are still some unit tests inside Kamon that somehow seem to work on this, but they probably don't apply to akka-http
Ivan Topolnjak
@ivantopo
can you please point me to those tests?
Ivan Topolnjak
@ivantopo
oh, those are not really the same thing
that is "forward" propagation, meaning that those headers are read on incoming requests and written to outgoing requests
that is, to put it somehow, true context propagation
Antoine Kalmbach
@ane
yeah, I figured
Ivan Topolnjak
@ivantopo
the settings I shared above control the response headers, which are not read by Kamon or any other instrumentation library and usually are only used for debugging purposes, when the user wants to get the trace ID so that they can go to Zipkin/Jaeger/Somewhere and find t
your issue was with the headers missing on outgoing requests (first case above) or outgoing responses (second case above)?
Mateusz Wójcik
@matwojcik
@ivantopo have you had some issues reported about using tapir with akka-http backend together with kamon? I observe problem with resolving operation names, and wonder if there's some workaround or I need to go deeper with it :P
Ivan Topolnjak
@ivantopo
didn't get any issues reported, but also didnt test it
to give you a pointer: the automatic instrumentation hooks into the path directives to change the current operation name... is what Tapir generates even using directives?
(man, I need to get the :thinking_face: emoji here)
Mateusz Wójcik
@matwojcik
mkey, this might be valid point
Daniel
@dlpb
thanks @ivantopo :tada:
Ivan Topolnjak
@ivantopo
:+1:
Mateusz Wójcik
@matwojcik
hmm the thing with tapir is that even if i set operation name on a span, it is too late for sampling decision to be taken (it is done in kamon.instrumentation.akka.http.ResolveOperationNameOnRouteInterceptor#resolveOperationName). btw why sampling decision is done only when operation name is defined?:P
Ivan Topolnjak
@ivantopo
that's for the adaptive sampler to be able to work properly
the adaptive sampler will try to keep a balanced sampling across all operations and additionally you could disable sampling of certain endpoints (like a /status endpoint of you had it) and set specific goals for certain operations...but for all of that to work, operations must have a name
Mateusz Wójcik
@matwojcik
ok, makes sense
Sean Kwak
@cosmir17
Screenshot 2020-01-17 at 15.02.26.png
thank you, @ivantopo the plugin works with sbt 0.13! (I haven't tried with sbt 1.x) :tada:
Ivan Topolnjak
@ivantopo
:tada:
yonigotliv
@yonigotliv
Hi there, I was upgrading my project to Scala 2.13 and also upgraded Kamon to 2.0
Since then and even reading and following all documentation and configuration settings I still get the following error message while starting Kamon:
java.lang.ClassCastException: class scala.util.Success cannot be cast to class kamon.instrumentation.context.HasContext (scala.util.Success and kamon.instrumentation.context.HasContext are in unnamed module of loader 'app'), I tried to work directly using SBT and also using java agent sbt plugin but still same problem, can someone please give me something useful to work with or even to try and check what am I doing wrong.
Thank you
yonigotliv
@yonigotliv

I also get different errors depends on the place I want to call Kamon.init(), if this is at the first line of my application startup I get:
[2020-01-19T12:25:23,236][INFO ][kamon.status.page.StatusPage][] [] Status page started on http://0.0.0.0:5266/
[2020-01-19T12:25:23,340][INFO ][kamon.statsd.StatsDReporter][] [] Started the Kamon StatsD reporter
[2020-01-19T12:25:23,363][INFO ][kamon.prometheus.PrometheusReporter][] [] Started the embedded HTTP server on http://0.0.0.0:9095

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by kamon.instrumentation.executor.ExecutorInstrumentation$ (file:/Users/yonigotliv/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/kamon/kamon-bundle_2.13/2.0.5/kamon-bundle_2.13-2.0.5.jar) to field java.util.concurrent.Executors$DelegatedExecutorService.e
WARNING: Please consider reporting this to the maintainers of kamon.instrumentation.executor.ExecutorInstrumentation$
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[2020-01-19T12:25:24,009][DEBUG][kamon.tag.TagSet][] [] Dismissing tag with key [akka.system] and invalid value [null

SahilAggarwalG
@SahilAggarwalG
Alter Triggers will be fired if slo will be breached by combing all the instances of a service or will there be diffrent alerts per service instance