GenAI: server.port
is usually 443 but we require setting it on every span
#1828
Labels
server.port
is usually 443 but we require setting it on every span
#1828
Area(s)
area:gen-ai
What's missing?
Original thread for context: open-telemetry/opentelemetry-python-contrib#3208 (comment)
Right now, the general conventions require a
server.port
ifserver.address
is presentsemantic-conventions/docs/gen-ai/gen-ai-spans.md
Line 58 in ac424df
In most cases it's 443 so this introduces some overhead. Individual GenAI systems like Azure or Vertex AI may have a different default.
Describe the solution you'd like
Azure has a specific convention for this which allows eliding
server.port
:However that conflicts with the general GenAI span conventions which require it. We should consider
server.port
convention by adding a note there that system-specific conventions can provide a default valueserver.port
of 443 for all systems and not add system-specific conventions. This would cover most standard HTTPS communication and be a bit simpler.The text was updated successfully, but these errors were encountered: