other_attributes.h 937 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 other
  16. {
  17. /**
  18. Deprecated, use @code db.client.connection.state @endcode instead.
  19. @deprecated
  20. {"note": "Replaced by @code db.client.connection.state @endcode.", "reason": "renamed",
  21. "renamed_to": "db.client.connection.state"}
  22. */
  23. OPENTELEMETRY_DEPRECATED static constexpr const char *kState = "state";
  24. namespace StateValues
  25. {
  26. /**
  27. none
  28. */
  29. static constexpr const char *kIdle = "idle";
  30. /**
  31. none
  32. */
  33. static constexpr const char *kUsed = "used";
  34. } // namespace StateValues
  35. } // namespace other
  36. } // namespace semconv
  37. OPENTELEMETRY_END_NAMESPACE