source_attributes.h 978 B

12345678910111213141516171819202122232425262728293031323334353637
  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 source
  16. {
  17. /**
  18. Source address - domain name if available without reverse DNS lookup; otherwise, IP address or
  19. Unix domain socket name. <p> When observed from the destination side, and when communicating
  20. through an intermediary, @code source.address @endcode SHOULD represent the source address behind
  21. any intermediaries, for example proxies, if it's available.
  22. */
  23. static constexpr const char *kSourceAddress = "source.address";
  24. /**
  25. Source port number
  26. */
  27. static constexpr const char *kSourcePort = "source.port";
  28. } // namespace source
  29. } // namespace semconv
  30. OPENTELEMETRY_END_NAMESPACE