Comments (8)
@vasily-kirichenko I will do a test and a debug in order to verify that these metrics are generating.
from kamon-akka-http.
@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.
@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.
@vasily-kirichenko you can see traces? the only metrics that can't see are the related to akka-http-server
?
from kamon-akka-http.
@dpsoft yes, I see Akka-Actor and Akka-Dispatcher metrics for example.
from kamon-akka-http.
@vasily-kirichenko this is my config:
...
influxdb {
subscriptions {
trace = [ "**" ]
trace-segment = [ "**" ]
akka-http-server = [ "**" ]
}
}
...
and this is I can get:
from kamon-akka-http.
@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.
@dpsoft @cristianspinetta It turns out subscriptions
section was outside influxdb
. Everything works OK now. Thanks, guys!
from kamon-akka-http.
Related Issues (20)
- Link not working: Server online at http://localhost:8080/
- Remove kamonLogReporter as compile dependency
- With tracing on, latency metrics are not broken out by individual trace HOT 2
- operation name providers are overriden by the server flow wrapper
- Client request headers are being overridden by kamon headers HOT 3
- Host header replaced in 1.0.0-RC7 HOT 9
- properly handle 4xx status codes HOT 3
- Ensure low cardinality on the operation tag for span.processing-time HOT 8
- [Question] Production readiness fo kamon-akka-http HOT 2
- Safari/WebKit - Invalid UTF-8 sequence in header value HOT 6
- Extract HTTP headers in a case-insensitive way HOT 2
- Support Akka Http2
- Akka-http 10.1.x HOT 2
- Dangling meta character '*' near index
- Wrong operation name for routes wrapped with flatMaped directives
- HTTP/1.0 responses must not have a chunked entity HOT 3
- client requests from the Java API are not instrumented
- Span metrics reported with wrong operation tag HOT 8
- NoClassDefFoundError with Kamon and Akka HTTP when using Kanela agent HOT 2
- Kamon Operation Name Mapping cannot be configured HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kamon-akka-http.