-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom actor type names are still not used in Phobos 2.6.2 #82
Comments
Gosh I'm sorry about this @object - I'll integrate an example of this into our test lab today and see if I can reproduce it there |
BTW do you happen to have a docker setup to collect OTel metrics on a local machine with Phobos dashboards, similar to what Steven Cleary had. So I can run our services locally and metrcis would appear on a Graphana in a local container? Should be easy to make one but in case you have everything set up, it would speed up testing. |
We pretty much use his setup, but I could make that turnkey - was already planning on fixing https://github.com/petabridge/Petabridge.Phobos.Web today as part of some end-of-year tech debt cleaning |
Ugh, you're right - this problem stems from how Phobos collects the latter information: it relies on akkadotnet/akka.net#6294, which is an Akka.NET base-level thing. I'd need to add an override inside the |
Thanks! |
Have a fix into Akka.NET v1.5.33 for the start / stop telemetry names: akkadotnet/akka.net#7434 |
So the metrics we did fix in v2.6.2 were the actor message processing metrics - those all appear to be working correctly in our local tests, but I overlooked the gauges for tracking things like "live actors by type" - they use different names for the same reason. |
We've just pushed Phobos 2.7.0 to Sdkbin (it should be live shortly) and I can confirm that this issue is finally resolved @object - thank you for your patience! Here's a screenshot from our local environment where I made sure we used this feature: Release notes: https://phobos.petabridge.com/articles/releases/RELEASE_NOTES.html |
Great, thank you! I will try it in a couple of days. |
I have updated Phobos library to the version 2.6.2 but the Phobos metrics dashboard panels still show type-derived actor names.
Here are examples from "Live actors by type":
"Actors Starts and Stops by Type":
I think we have two issues here. First is the major one: customized actor type names are not used. The second one is that these two panels use different actor names: "Live actors by type" uses the type name as returned by reflection, "Actors Starts and Stops by Type" uses more delicate approach and expands parameterized types with its arguments, i.e. showing as different actor types actors with different message types. Shouldn't these two panels use the same naming schema?
I think it might be easier to locate the problem if I create a small subset of our code base that reproduces the error. It will take some time to extract a small code set.
For the reference, here's the F# code we use to customize actor type names:
The text was updated successfully, but these errors were encountered: