-
Notifications
You must be signed in to change notification settings - Fork 117
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
How to handle http(s) default port when setting service.target_name #703
Comments
For call to services through HTTP/HTTPS I would prefer to not have it, but it's definitely not that easy to choose what is best:
In an ideal situation, we would be able to "show the port only when it's relevant", but we probably can't, so we might have to include it always for consistency. Maybe in the future when we'll have a kind of "service entity" we could solve that in a more elegant way and make the map (and dependencies) automatically display entities (and aggregate metrics) with an optimal granularity and/or fold automatically. For now the |
In a recent "APM Agents Weekly" we discussed this topic but did not reach a definite conclusion. I will go forward and update #700 (including the related @SylvainJuge @felixbarny please give me a 👍 / 👎 depending on whether you are OK with this approach or not. |
👍 to favor consistency on this one, we might find better solutions to the "display name" when we have a more entity-base approach available in the map. |
Note: there is some initial discussion of this topic on #700 but since the direction of this PR became unclear, I decided to move the discussion to this dedicated issue.
The subject of this discussion is how to handle HTTP(S) default ports when setting
service.target
.getPortFromUrl
that does not specify how to handle default HTTP ports (80/443).I think we should aim for consistency here between the general agent spec and the OTel Bridge spec.
Also, convincing arguments for including the default ports have been made by @trentm (see e.g. #700 (comment)).
The text was updated successfully, but these errors were encountered: