thread_attributes.h 676 B

12345678910111213141516171819202122232425262728293031323334
  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 thread
  16. {
  17. /**
  18. Current "managed" thread ID (as opposed to OS thread ID).
  19. */
  20. static constexpr const char *kThreadId = "thread.id";
  21. /**
  22. Current thread name.
  23. */
  24. static constexpr const char *kThreadName = "thread.name";
  25. } // namespace thread
  26. } // namespace semconv
  27. OPENTELEMETRY_END_NAMESPACE