client_attributes.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright The OpenTelemetry Authors
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. /*
  6. * DO NOT EDIT, this is an Auto-generated file from:
  7. * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
  8. */
  9. #pragma once
  10. #include "opentelemetry/common/macros.h"
  11. #include "opentelemetry/version.h"
  12. OPENTELEMETRY_BEGIN_NAMESPACE
  13. namespace semconv
  14. {
  15. namespace client
  16. {
  17. /**
  18. Client address - domain name if available without reverse DNS lookup; otherwise, IP address or
  19. Unix domain socket name. <p> When observed from the server side, and when communicating through an
  20. intermediary, @code client.address @endcode SHOULD represent the client address behind any
  21. intermediaries, for example proxies, if it's available.
  22. */
  23. static constexpr const char *kClientAddress = "client.address";
  24. /**
  25. Client port number.
  26. <p>
  27. When observed from the server side, and when communicating through an intermediary, @code
  28. client.port @endcode SHOULD represent the client port behind any intermediaries, for example
  29. proxies, if it's available.
  30. */
  31. static constexpr const char *kClientPort = "client.port";
  32. } // namespace client
  33. } // namespace semconv
  34. OPENTELEMETRY_END_NAMESPACE