-
Notifications
You must be signed in to change notification settings - Fork 182
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
New webengine
attributes to cover common IIS constructs? Or custom IIS attributes?
#939
Comments
Application pools and similar concepts ultimately come down to process management. IIS starts and manages the So I wonder, if this is maybe better served on the process level - for Reason I try to explore if E.g. php-fpm does something which would fall into this category, but from what I know it doesn't really have a name for the worker processes - it just manages OS processes (which are covered by the If we go the other direction and still add this, then a nit on naming: I'd call it just I think where adding an
But this issue is about resource detector (and I feel resource attributes and not metrics), so that list won't really help for this use-case. |
Interesting thought. I think I'm with you here.
This I did not know: I was picking the application pool name from the environment variable instead. If it's always present as a cmdline arg then yeah, that could be captured there indeed, but it should still appear somewhere else I think since the cmdline arg field would not have any semantics attached to it and would be hard to filter by just a single argument in observability tools etc.
I believe this is covered already by the existing
This one is also already covered by the existing
Good point, agree it would make a ton of sense to store this as part of the process itself. It is even a bit surprising it is not there already as a
I assume you are not challenging the entire notion of having a
Where would you add this one though? Would you add a custom attribute on the My next question would then be what happens if we want to capture other information from the IIS' application pool, such as the I do have to say I like your idea of using |
Yes, before we conclude that, it should be researched if this is 100% reliable. To me it seems it is, but haven't looked into it deep enough to be totally sure.
That's true - I think this is a trade-off. If we still focus on
Correct. Specifically my point is that with the current general attributes the pool management feature of web servers may be better served by utilizing the
Oh yeah, maybe I wasn't clear. So what I suggested is, if this goes to
Yes, I think those should definitely go into an After looking into this a bit I believe it's not possible to generalize the name of the app pool on |
Just to make my own position on this one clear, I don't think one should preclude the other. It will eventually be very sensible for the process' command line to always be captured (if one opts for using the This is particularly obvious in cases where we are not dealing with IIS hosting or even web projects in the first place. Cmdline arg capturing should not be tied at all to IIS properties since we still very much want the cmdline args to be captured on those other scenarios too. |
Area(s)
area:webengine
Is your change request related to a problem? Please describe.
We are currently in the process of creating our own custom implementation for an "IIS Resource Detector" in .NET and ran into the current
webengine
semantic conventions. We noticed some concepts that exist in IIS (and that might have analogues in other engines) are not currently captured in those conventions, in particular the "application pool" abstraction.Describe the solution you'd like
The current attributes for the web.engine are only informational very high level metadata: the name of the engine, version, and description.
I'd imagine webengines other than IIS also have similar concepts as IIS' Application Pool, which provide a level of isolation inside of the engine to run a process or a set of processes.
My question then would be if the team has considered adding such isolation elements as native attributes in the
webengine
resource, or if clients should just use custom attributes for their own engine.Describe alternatives you've considered
I've considered the following possibilities to store IIS' AppPool information:
webengine.apppool.id
webengine.iis.apppool.id
iis.apppool.id
Considering how some of the vendor-specific attributes work in other resources (like cloud stuff), perhaps the third option would be the more appropriate, in case the attribute cannot be generalized as part of
webengine
?There is also the question of
apppool
vs the more verbose (and probably more correct here),application_pool
.I just want to make sure that our implementation follows the standard as closely as possible and that in case custom attributes are needed, that they as well are as close to the standard as they can be.
Additional context
This issue is based on my proposal here:
The text was updated successfully, but these errors were encountered: