schema_url-h.j2 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {#
  2. Copyright The OpenTelemetry Authors
  3. SPDX-License-Identifier: Apache-2.0
  4. This file is:
  5. - a Jinja template,
  6. - used to generate semantic conventions,
  7. - using weaver.
  8. For doc on the template syntax:
  9. https://jinja.palletsprojects.com/en/3.0.x/
  10. For doc on the semantic conventions:
  11. https://github.com/open-telemetry/semantic-conventions
  12. For doc on weaver:
  13. https://github.com/open-telemetry/weaver
  14. #}
  15. /*
  16. * Copyright The OpenTelemetry Authors
  17. * SPDX-License-Identifier: Apache-2.0
  18. */
  19. /*
  20. * DO NOT EDIT, this is an Auto-generated file from:
  21. * buildscripts/semantic-convention/templates/registry/schema_url-h.j2
  22. */
  23. {# ========================================================================== #}
  24. {{ template.set_file_name("schema_url.h") }}
  25. {# ========================================================================== #}
  26. #pragma once
  27. #include "opentelemetry/common/macros.h"
  28. #include "opentelemetry/version.h"
  29. OPENTELEMETRY_BEGIN_NAMESPACE
  30. namespace semconv
  31. {
  32. /**
  33. * The URL of the OpenTelemetry schema for these keys and values.
  34. */
  35. static constexpr const char *kSchemaUrl = {{ params.schema_url | print_member_value }};
  36. }
  37. OPENTELEMETRY_END_NAMESPACE