cpython_attributes.h 877 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 cpython
  16. {
  17. /**
  18. Value of the garbage collector collection generation.
  19. */
  20. static constexpr const char *kCpythonGcGeneration = "cpython.gc.generation";
  21. namespace CpythonGcGenerationValues
  22. {
  23. /**
  24. Generation 0
  25. */
  26. static constexpr int kGeneration0 = 0;
  27. /**
  28. Generation 1
  29. */
  30. static constexpr int kGeneration1 = 1;
  31. /**
  32. Generation 2
  33. */
  34. static constexpr int kGeneration2 = 2;
  35. } // namespace CpythonGcGenerationValues
  36. } // namespace cpython
  37. } // namespace semconv
  38. OPENTELEMETRY_END_NAMESPACE