Code Monkey home page Code Monkey logo

Comments (8)

dpsoft avatar dpsoft commented on June 1, 2024 1

@vasily-kirichenko I will do a test and a debug in order to verify that these metrics are generating.

from kamon-akka-http.

dpsoft avatar dpsoft commented on June 1, 2024

@vasily-kirichenko can you please change your config to this:

kamon {
   metric {
    tick-interval = 5 seconds
    default-collection-context-buffer-size = 1000

    filters {
      trace.includes = ["**"]

      akka-dispatcher {
        includes = [ "**" ]
        excludes = [ ]
      }

      akka-actor {
        includes = [ "**" ]
        excludes = [ ]
      }

      akka-http {
        includes = [ "**" ]
        excludes = [ ]
      }
    }
  }

  akka-http {
    trace-token-header-name = "X-Trace-Token"
    automatic-trace-token-propagation = true
    name-generator = kamon.akka.http.DefaultNameGenerator

    client {
      instrumentation-level = request-level
    }
  }

  influxdb {
    hostname = "xxx"
    port = 8086
    max-packet-size = 1024
    database = "akka-metrics"
    protocol = "http"
    application-name = "akka-http"
    hostname-override = none
    percentiles = [50.0, 70.5]

   subscriptions {
    histogram = ["**"]
    min-max-counter = ["**"]
    gauge = ["**"]
    counter = ["**"]
    trace = ["**"]
    trace-segment = ["**"]
    akka-actor = ["**"]
    akka-dispatcher = ["**"]
    akka-router = ["**"]
    system-metric = ["**"]
    http-server = ["**"]
    akka-http-server = ["**"]
   }
  }
}

from kamon-akka-http.

vasily-kirichenko avatar vasily-kirichenko commented on June 1, 2024

@dpsoft I tried your config. Same result. Is there a way to diagnose Akka-HTTP integration? Maybe some debug logging can be turned on of the like?

from kamon-akka-http.

dpsoft avatar dpsoft commented on June 1, 2024

@vasily-kirichenko you can see traces? the only metrics that can't see are the related to akka-http-server?

from kamon-akka-http.

vasily-kirichenko avatar vasily-kirichenko commented on June 1, 2024

@dpsoft yes, I see Akka-Actor and Akka-Dispatcher metrics for example.

from kamon-akka-http.

dpsoft avatar dpsoft commented on June 1, 2024

@vasily-kirichenko this is my config:

...
  influxdb {
    subscriptions {
     trace                = [ "**" ]
     trace-segment        = [ "**" ]
     akka-http-server     = [ "**" ]
    }
  }
...

and this is I can get:

image

from kamon-akka-http.

cspinetta avatar cspinetta commented on June 1, 2024

@vasily-kirichenko could you upload an example so that we can inspect and look for some issue?
Maybe you can fork this repo and start from the kamon-akka-http-playground module. In that module there is a WebServer implemented with an util class that generates requests indefinitely.
Please just ask us if you need some help for that.

from kamon-akka-http.

vasily-kirichenko avatar vasily-kirichenko commented on June 1, 2024

@dpsoft @cristianspinetta It turns out subscriptions section was outside influxdb. Everything works OK now. Thanks, guys!

from kamon-akka-http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.