schemas.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Copyright The OpenTelemetry Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. from enum import Enum
  15. class Schemas(Enum):
  16. V1_23_1 = "https://opentelemetry.io/schemas/1.23.1"
  17. """
  18. The URL of the OpenTelemetry schema version 1.23.1.
  19. """
  20. V1_25_0 = "https://opentelemetry.io/schemas/1.25.0"
  21. """
  22. The URL of the OpenTelemetry schema version 1.25.0.
  23. """
  24. V1_26_0 = "https://opentelemetry.io/schemas/1.26.0"
  25. """
  26. The URL of the OpenTelemetry schema version 1.26.0.
  27. """
  28. V1_27_0 = "https://opentelemetry.io/schemas/1.27.0"
  29. """
  30. The URL of the OpenTelemetry schema version 1.27.0.
  31. """
  32. V1_28_0 = "https://opentelemetry.io/schemas/1.28.0"
  33. """
  34. The URL of the OpenTelemetry schema version 1.28.0.
  35. """
  36. V1_29_0 = "https://opentelemetry.io/schemas/1.29.0"
  37. """
  38. The URL of the OpenTelemetry schema version 1.29.0.
  39. """
  40. V1_30_0 = "https://opentelemetry.io/schemas/1.30.0"
  41. """
  42. The URL of the OpenTelemetry schema version 1.30.0.
  43. """
  44. V1_31_0 = "https://opentelemetry.io/schemas/1.31.0"
  45. """
  46. The URL of the OpenTelemetry schema version 1.31.0.
  47. """
  48. # when generating new semantic conventions,
  49. # make sure to add new versions version here.