mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-06 02:30:36 -08:00
4.1 KiB
4.1 KiB
Dependencies and Licenses
There are
- External dependencies as linkable libraries or externally installed headers, and
- Internal dependencies as the part of code from external libraries backported/copied in main repo.
Both these dependencies are listed here:
Internal dependencies
- nostd::variant:
This is backported from Abseil C++
libraries and used as default variant
implementation. License:
Apache License 2.0 - TraceLoggingDynamic:
Dynamic TraceLogging Provider API for C++ used by ETW exporter. License:
MIT License
External dependencies
-
- Uses Standard C++ library for latest features (std::string_view,
std::variant, std::span, std::shared_ptr, std::unique_ptr) with C++14/17/20
compiler if cmake option
WITH_STLis enabled or macroOPENTELEMETRY_STL_VERSIONis defined. License:GNU General Public License- For C++14/17 compilers, fallback to gsl::span if GSL C++
library is installed. License:
MIT License - libc++ 14.0.0 do not support construct std::span from a range or container
.We don't use the std::span in this situation.Users can also define
OPENTELEMETRY_OPTION_USE_STD_SPAN=0to indicate nostd:span will always not be a alias for std::span.
- For C++14/17 compilers, fallback to gsl::span if GSL C++
library is installed. License:
- Uses Standard C++ library for latest features (std::string_view,
std::variant, std::span, std::shared_ptr, std::unique_ptr) with C++14/17/20
compiler if cmake option
-
OTLP/HTTP+JSON exporter:
- protobuf: Library to
serialize structured data.
- OTLP messages are constructed as protobuf payloads.
protoccompiler is used to generate C++ stubs for proto files provided byopentelemetry-proto.libprotobuflibrary is used for generating serialized trace/metrics/log data to be sent to opentelemetry collector.- License: The library is licensed
here.
The code generated by protoc compiler is owned by the owner of
.protofile.
- libcurl : the multiprotocol file transfer
library.
- Export connects with opentelemetry collector over HTTP protocol using libcurl library
- License: Inspired by
MIT/Xbut not same. https://curl.se/docs/copyright.html
- nlohmann/json: JSON for Modern C++.
- protobuf serialized otlp messages are encoded in JSON format using this library.
- License:
MIT License
- zlib: A Massively Spiffy Yet Delicately
Unobtrusive Compression Library.
- The
http_clientutilizes zlib to compress the message body and send it in gzip format. - License: The library is licensed here
- The
- protobuf: Library to
serialize structured data.
-
OTLP/gRPC exporter:
protobufOTLP messages are constructed as protobuf payloads.- gRPC: An RPC library and framework
- Exporter communicates with OTLP collector using gRPC transport mechanism.
- License:
Apache License 2.0
-
Zipkin exporter:
libcurlfor connecting with Zipkin server over HTTP protocol.nlohmann/jsonfor encoding Zipkin messages.
-
ETW exporter:
nlohmann/jsonfor generating MessagePack serialization for message to be transmitted to ETW.
-
Prometheus exporter:
prometheus-cppPrometheus Client Library for Modern C++- License:
MIT License
- License:
-
ElasticSearch exporter:
libcurlfor connecting with Elasticsearch server over HTTP protocol.nlohmann/jsonfor encoding Elastic Search messages.
-
Opentracing shim:
opentracing-cppOpenTracing API for C++- A bridge layer implementing the OpenTracing API using the OpenTelemetry API
- License:
Apache License 2.0