Comments (8)
I'm not able to reproduce on the snapshot version. Just making sure, did you reload the project after updating the version an re-running the tests ?
yes .... from 1.6.0 to 1.7.x Dimension is no longer a trait and the withServerDimensions receives an argument 😢
but it seems that the release version is now working properly ... maybe I got a stale version of the snapshot 🤔
anyway, thanks @RustedBones !
from akka-http-metrics.
maybe related to f063d32
from akka-http-metrics.
Dammit! I thought I fixed that before releasing 1.7.0. I must have overlooked something.
I'll not be able to work on that in the coming days, so feel free to open a PR!
Thanks a lot for the bug report @cdmbr
from akka-http-metrics.
@cdmbr I published 1.7.1-SNAPSHOT
. Can you give it a try and if I get a 👍 , I'll release 1.7.1
?
from akka-http-metrics.
@RustedBones Thanks for fixing it 🥇 ... I'm not seeing the 1.7.1-SNAPSHOT in maven central yet 🤔 Have you published to a different repository ?
from akka-http-metrics.
Yes, The artifact is published in the sonatype snapshot resolver. You must add
resolvers += Resolver.sonatypeRepo("snapshots")
from akka-http-metrics.
still getting some labels swapped 😢 :
akka_http_responses_size_bytes_bucket{env="local_env",method="local_stack",path="local_version",stack="GET",status="/metrics/prometheus",version="2xx",le="0.0",} 0.0
akka_http_responses_total{env="local_env",method="local_stack",path="local_version",stack="GET",status="/metrics/prometheus",version="2xx",} 2.0
config:
val prometheusSettings: PrometheusSettings = PrometheusSettings.default
.withDurationConfig(Buckets(buckets: _*))
.withDefineError(_.status.isFailure)
.withIncludeMethodDimension(true)
.withIncludePathDimension(true)
.withIncludeStatusDimension(true)
.withServerDimensions(
Dimension("env", env),
Dimension("stack", stack),
Dimension("version", version)
)
route:
def routes: Route = pathLabeled("metrics" / "prometheus") {
get { metrics(prometheusRegistry) }
}
from akka-http-metrics.
I'm not able to reproduce on the snapshot version.
Just making sure, did you reload the project after updating the version an re-running the tests ?
from akka-http-metrics.
Related Issues (20)
- Error in stage [fr.davit.akka.http.metrics.core.MeterStage$$anon$1-MeterStage]: No value present HOT 10
- Create grafana dashboard HOT 1
- Hiding metrics route from scrapping HOT 4
- Extension methods from HttpMetrics break Http().newServerAt HOT 5
- Add a method bindFlow(handler: Flow[I,O,Mat]) to HttpMetricsServerBuilder HOT 2
- Getting error when using bindFlow : `.Error in stage [fr.davit.akka.http.metrics.core.MeterStage$$anon$1-MeterStage]: No value present HOT 2
- akka grpc
- 5xx and 4xx responses go to unlabelled when handled with AKKA `ExecutionDirectives.handleExceptions`
- Request/response headers as metric dimensions HOT 2
- Add directive to provide custom dimensions HOT 7
- Status and method labels are swapped in Prometheus metrics
- 1.7.0 not found in repos HOT 2
- Support for Apache Pekko HOT 4
- StatusGroup / Path for requests? HOT 2
- No akka_http_responses_size_bytes_bucket for streamed endpoints
- Bug 1.4.0: java.lang.IllegalArgumentException: requirement failed: Responses with this status code must have an empty entity HOT 5
- Unable to get started with akk-http-metrics for scala Akka HTTP and prometheus. HOT 17
- Problem with big requests (>~100kb) HOT 9
- Instantiate HttpMetricsNames the same way as HttpMetricsSettings HOT 1
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 akka-http-metrics.