diff --git a/docs/semantic-conventions.md b/docs/semantic-conventions.md index 6240fe893a..1facfb4af4 100644 --- a/docs/semantic-conventions.md +++ b/docs/semantic-conventions.md @@ -35,15 +35,15 @@ For example, tag v1.12.0 ### Use latest specifications -Set the `SEMCONV_VERSION` number in the [generate.sh](/buildscripts/semantic-convention/generate.sh) script. +Set the `SEMCONV_VERSION` number in the +[generate.sh](/buildscripts/semantic-convention/generate.sh) script. For example, -``` +```shell SEMCONV_VERSION=1.12.0 ``` - ### Generate code Run the generate.sh script. @@ -53,27 +53,24 @@ to verify they were updated (check the version number in SCHEMA_URL). For example, -``` +```cpp static constexpr const char *SCHEMA_URL = "https://opentelemetry.io/schemas/1.12.0"; ``` - ### Format code Apply clang-format. - ### Update CHANGELOG Add a `CHANGELOG` entry for the semantic conventions. For example, -``` +```md * [SEMANTIC CONVENTIONS] Upgrade to version 1.12.0 ``` - ### Commit Commit and file a PR. diff --git a/examples/http/server.cc b/examples/http/server.cc index cf7e6bba51..4687d1c6d2 100644 --- a/examples/http/server.cc +++ b/examples/http/server.cc @@ -3,6 +3,13 @@ #include "server.h" #include "opentelemetry/trace/context.h" + +// DEBUG: investigating build break + +#ifdef DELETE +#error "Someone broke semantic_conventions" +#endif + #include "opentelemetry/trace/semantic_conventions.h" #include "tracer_common.h"