1DS C++ SDK
Перейти к файлу
Tom Tan 375938a215
Remove go wrapper (#1268)
2024-04-30 16:38:12 -07:00
.github Update codeql-analysis.yml 2024-02-15 16:40:58 -08:00
Solutions Remove _CRT_SECURE_NO_WARNINGS macro usage (#1264) 2024-04-16 15:59:54 -07:00
docker
docs Documenting LogManager Setup and Best Practices (#1259) 2024-04-15 18:33:59 -07:00
examples Remove _CRT_SECURE_NO_WARNINGS macro usage in example code, fix any errors arising from disabling this. (#1265) 2024-04-22 08:14:42 -07:00
lib Remove _CRT_SECURE_NO_WARNINGS macro usage (#1264) 2024-04-16 15:59:54 -07:00
sqlite
sqliteUWP
tests Remove _CRT_SECURE_NO_WARNINGS macro usage (#1264) 2024-04-16 15:59:54 -07:00
third_party
tools Clarify and Improve the version format script so that it doesn't need to manually be updated every year. Also fixed version.txt not requiring a magic 999 value. (#1237) 2024-02-05 13:24:15 -08:00
wrappers Remove go wrapper (#1268) 2024-04-30 16:38:12 -07:00
zlib
.clang-format
.gitattributes
.gitignore
.gitmodules
.markdownlint.json
.readthedocs.yaml
Android.bp
CMakeLists.txt
CODE_OF_CONDUCT.md
LICENSE
README.md
RunOACR.bat
SECURITY.md
azure-pipelines.yml
build-Win32Debug.bat
build-Win32Release.bat
build-all-v142.bat
build-all-v143.bat
build-all.bat
build-android.cmd
build-clang.sh
build-cmake-clang-vs2017.cmd
build-cmake-clang-vs2019.cmd
build-docker.cmd
build-docker.sh
build-gtest.sh
build-ios.sh
build-rhel.sh
build-tests-ios.sh
build-tests.cmd
build-tests.sh
build-win.ps1
build-win10-compact.bat
build-win10-min.bat
build-x64Debug.bat
build-x64Release.bat
build-xamarin.sh
build.sh
install.sh
mat-sdk.spec.in
test-all.cmd

README.md

1DS C/C++ SDK

spellcheck

1DS C/C++ SDK enables cross-platform telemetry collection from various Microsoft products. It enables data / telemetry upload to Collector++.

1DS (One Data Strategy), also known as One Observability, is a cross-org initiative with five teams across the company coming together to unify multiple telemetry efforts at Microsoft. This includes the teams that built Asimov, Aria, Shared Data Platform, Geneva, OMS, Azure Monitor, and Visual Studio App Center. We aim to create a unified data collection, ingestion, pipeline, and set of tools for key scenarios for the entire company.

Collector++ is the externally-facing destination end-point where telemetry data is uploaded to that subsequently routes the data to Microsoft internal data pipeline.

Getting Started

The SDK is released as a source package every month, following the milestones. There is no plan to release prebuilt binaries.

Build

Platform specific build instructions:

Other resources to learn how to setup the build system:

  • Review how our cross-platform build system is implemented using GitHub Actions infrastructure.
  • Check the build scripts located in workspace root.

Build Environments

Operating System Compiler
Mac OS X 10.11.6 Clang Xcode 8.3
Mac OS X 10.12.6 Clang Xcode 9.0, 9.1
Mac OS X 10.13.3 Clang Xcode 9.2, 9.3, 10.0, 10.1
Raspbian GNU/Linux 8 (jessie) GCC 4.9.2 (armv7l)
Ubuntu 14.04.x LTS GCC 5.x.x
Ubuntu 16.04 LTS GCC 5.x.x, GCC 5.x.x (armv7l)
Ubuntu 18.04 LTS GCC 7.5.x
Windows 10 Android Studio/Gradle
Windows Server 2016 Visual Studio 2017 (vc141)
Windows Server 2019 Visual Studio 2019 (vc142)

Target Platforms

Target Platform Supported Covered by CI
Android
iOS 10+ (simulator)
iOS 10+ (arm64, arm64e)
Linux (x86, x64, arm, aarch64)
Mac OS X 10.11+
Mac OS X (latest)
Ubuntu 14.04.x LTS
Ubuntu 16.04.x LTS
Ubuntu 18.04.x LTS
Ubuntu 20.04.x LTS
Ubuntu (latest)
Windows 7.1
Windows 8.1
Windows 10.x
Windows Server 2012
Windows Server 2016
Windows Server 2019
  • Supported - these platforms are known to work well with the SDK in production.
  • Covered by CI - these platforms are tested as part of CI.

Test

There are two sets of tests available:

  • tests/unittests - unit tests that verify operation of each individual component.
  • tests/functests - functional tests that verify customer-facing APIs and features, they also cover the flow of data to Collector++.

These tests use Google Test / Google Mock framework and get built alongside the SDK. Launch functests and unittests binary executables to capture the test results.

Getting Support

Microsoft products using SDK may use GitHub issues as the communication channel for both feature requests and issues.

Note:

  • Please refer to the supported platforms, anything not in the list should be treated as a feature request.
  • Only C and C++ API surface is supported - any other language wrappers are provided as-is, and not supported.
  • Build issues are in general out of the support scope due to the unlimited number of build flags combinations.

Contributing

This project does not accept Public contributions at this time.

Microsoft-authorized contributors - please refer to contributing instructions here.

Versioning

This library follows Semantic Versioning.

License

By contributing to 1DS C++ SDK repository, you agree that your contributions will be licensed under Apache License 2.0.