profile_attributes.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 profile
  16. {
  17. /**
  18. Describes the interpreter or compiler of a single frame.
  19. */
  20. static constexpr const char *kProfileFrameType = "profile.frame.type";
  21. namespace ProfileFrameTypeValues
  22. {
  23. /**
  24. <a href="https://wikipedia.org/wiki/.NET">.NET</a>
  25. */
  26. static constexpr const char *kDotnet = "dotnet";
  27. /**
  28. <a href="https://wikipedia.org/wiki/Java_virtual_machine">JVM</a>
  29. */
  30. static constexpr const char *kJvm = "jvm";
  31. /**
  32. <a href="https://wikipedia.org/wiki/Kernel_(operating_system)">Kernel</a>
  33. */
  34. static constexpr const char *kKernel = "kernel";
  35. /**
  36. Can be one of but not limited to <a
  37. href="https://wikipedia.org/wiki/C_(programming_language)">C</a>, <a
  38. href="https://wikipedia.org/wiki/C%2B%2B">C++</a>, <a
  39. href="https://wikipedia.org/wiki/Go_(programming_language)">Go</a> or <a
  40. href="https://wikipedia.org/wiki/Rust_(programming_language)">Rust</a>. If possible, a more
  41. precise value MUST be used.
  42. */
  43. static constexpr const char *kNative = "native";
  44. /**
  45. <a href="https://wikipedia.org/wiki/Perl">Perl</a>
  46. */
  47. static constexpr const char *kPerl = "perl";
  48. /**
  49. <a href="https://wikipedia.org/wiki/PHP">PHP</a>
  50. */
  51. static constexpr const char *kPhp = "php";
  52. /**
  53. <a href="https://wikipedia.org/wiki/Python_(programming_language)">Python</a>
  54. */
  55. static constexpr const char *kCpython = "cpython";
  56. /**
  57. <a href="https://wikipedia.org/wiki/Ruby_(programming_language)">Ruby</a>
  58. */
  59. static constexpr const char *kRuby = "ruby";
  60. /**
  61. <a href="https://wikipedia.org/wiki/V8_(JavaScript_engine)">V8JS</a>
  62. */
  63. static constexpr const char *kV8js = "v8js";
  64. /**
  65. <a href="https://en.wikipedia.org/wiki/BEAM_(Erlang_virtual_machine)">Erlang</a>
  66. */
  67. static constexpr const char *kBeam = "beam";
  68. /**
  69. <a href="https://wikipedia.org/wiki/Go_(programming_language)">Go</a>,
  70. */
  71. static constexpr const char *kGo = "go";
  72. /**
  73. <a href="https://wikipedia.org/wiki/Rust_(programming_language)">Rust</a>
  74. */
  75. static constexpr const char *kRust = "rust";
  76. } // namespace ProfileFrameTypeValues
  77. } // namespace profile
  78. } // namespace semconv
  79. OPENTELEMETRY_END_NAMESPACE