Replies: 6 comments 3 replies
-
There are errors - thanks for catching this. Recorder is a type of metric that was there in OpenTelemetry but was removed (in 1.7.0 I think). For Akka Persistence it is indeed a histogram. The section should look like this:
When it comes to akka metrics:
Please note however, not sure if it's correct for akka actor - we currently have gauges for mailbox time sum/min/max/count. At least for sum and count it would be enough to have a histogram. @vasigorc do you see it the same way from the user perspective?
Yes, we use attributes but I must admit it could be more extensive. For akka Actor we currently use the following:
However, when it comes to path, it's very limited in it's current state. It's either "/system" or "/user". We discussed it internally and just created an issue to push this further: #383. Of course, your input is more than welcome. What other attributes besides actorName and dispatcherName would be useful? |
Beta Was this translation helpful? Give feedback.
-
Hi @vasigorc 👋
Not directly - for this we use a pattern similar to prometheus As for tracking other actors - we have a support for a configuration option where you can define what actor you want to tract. For now there are 3 different types supported: As actor systems might grow indefinitely we want users to define in which actors they are interested in - this is a safeguard not to flood monitoring backend with extraneous information too granular to be useful. Here is an example of the config:
This will:
Currently we support only one kind of wildcard which is an |
Beta Was this translation helpful? Give feedback.
-
Hey @worekleszczy, thanks for jumping in!
This looks like HOCON syntax, does this go into a
It is but only from your end (and wisely so) 😄 since the trait is sealed and case classes are final (so no sub-classing). Anyway these cases suffice for us. What do you think about adding some of the attributes that we mentioned? If these sound feasible/appropriate could you roughly predict when might this become available? |
Beta Was this translation helpful? Give feedback.
-
This indeed it's HOCON - if you paste that part into your
You're right, but we're open for pull requests 😄
We've been thinking about it for some time and is here is the summary of it:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the follow-up
We could play with this to address our needs for a few of the suggested attributes. For |
Beta Was this translation helpful? Give feedback.
-
@worekleszczy I apologize for the long pause. Is it possible to document the configuration from your previous answer as well as the supported attributes in your guide? |
Beta Was this translation helpful? Give feedback.
-
Hello team 👋
I've a few questions about the supported metrics page. You mention that there are three supported measurement types: gauge, counter and histogram. This aligns well with the interfaces from
opentelemetry-api
'sio.opentelemetry.api.metrics
package. However in the subsequent section you mention arecorder
metric, is this a typo? Did you meanhistogram
instead?My second question is around metrics' attributes. Typically Opentelemetry measurements come in two flavours with and without attributes (example). Do you use attributes? If so what are the attributes' keys, e.g.
actorName
ordispatcherName
etc. Being able to view these values, filter and group by them is essential for us and probably not only for us.Beta Was this translation helpful? Give feedback.
All reactions