Skip to content

Commit

Permalink
Merge branch 'open-telemetry:main' into Logger-Support-for-Instrument…
Browse files Browse the repository at this point in the history
…ation-library
  • Loading branch information
esigo authored Dec 9, 2021
2 parents 73d026b + 5e258b0 commit 29af9f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
[CMake](https://cmake.org/) and [Bazel](https://bazel.build) are the official
build systems for opentelemetry-cpp.

## Dependencies

You can link OpenTelemetry C++ SDK with libraries provided in [dependencies.md](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/docs/dependencies.md) (complete list of libraries with versions used in our CI can be found [here](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/third_party_release)).

## Build instructions using CMake

### Prerequisites for CMake
Expand Down
6 changes: 3 additions & 3 deletions exporters/jaeger/test/jaeger_recordable_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ void addTag(thrift::TagType::type tag_type,
tag.__set_vType(tag_type);
if (tag_type == thrift::TagType::LONG)
{
tag.__set_vLong(value);
tag.__set_vLong(static_cast<int64_t>(value));
}
else if (tag_type == thrift::TagType::DOUBLE)
{
tag.__set_vDouble(value);
tag.__set_vDouble(static_cast<double>(value));
}
else if (tag_type == thrift::TagType::BOOL)
{
tag.__set_vBool(value);
tag.__set_vBool(static_cast<bool>(value));
}

tags.push_back(tag);
Expand Down

0 comments on commit 29af9f7

Please sign in to comment.