1DS C++ SDK
Перейти к файлу
Matthew Koscumb 46a7d65089
Merge pull request #796 from microsoft/mkoscumb-clang-format-warning-fix
Fix Clang -Wformat warning on 64 bit Droid
2021-03-02 19:45:46 -08:00
.github Allow to continue even if recursive submodule checkout fails 2021-01-22 17:45:13 -08:00
Solutions Revert changes to MSTelemetry.sln 2021-03-01 14:52:16 -08:00
docker Create Dockerfile 2020-05-02 11:51:58 -07:00
docs Add some explanation to Android local log section (#778) 2021-01-29 14:29:00 -08:00
examples Verified the flow on Linux for static and shared library. Use new Google Test for Ubuntu 20.04 (old one no longer compiles) 2020-09-22 01:16:29 -07:00
googletest Add support MacOS arm64 (#763) 2021-01-15 22:03:39 -08:00
lib Merge branch 'master' into sid-dahiya/PGImprovements 2021-03-02 08:46:30 -08:00
sqlite
sqliteUWP
tests Merge branch 'master' into mkoscumb-clang-format-warning-fix 2021-03-02 15:36:04 -08:00
third_party Address compile issue due to missing to replace one instance 2020-10-13 09:56:50 -07:00
tools Fiddler 5.x Inspector housekeeping 2021-01-22 21:51:07 -08:00
wrappers Update ODWPrivacyGuard.mm 2021-03-02 08:46:10 -08:00
zlib
.clang-format
.gitattributes License cleanup + license clean-up scripts: 2020-10-07 00:51:29 -07:00
.gitignore Update .gitignore with all *.ses 2020-09-24 17:37:40 -07:00
.gitmodules Verified the flow on Linux for static and shared library. Use new Google Test for Ubuntu 20.04 (old one no longer compiles) 2020-09-22 01:16:29 -07:00
.markdownlint.json Further repo cleanup for OSS: remove unnecessary details 2020-10-22 01:52:49 -07:00
CMakeLists.txt Add support for 1DSSDK iOS build script to generate binary for iOS arm simulator. 2021-02-04 13:15:53 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-02-10 11:51:15 -08:00
LICENSE License cleanup + license clean-up scripts: 2020-10-07 00:51:29 -07:00
README.md Update README.md 2021-01-22 17:27:06 -08:00
RunOACR.bat
SECURITY.md markdownlint cleanup 2020-10-22 01:54:19 -07:00
azure-pipelines.yml OSS clean-up: 2020-08-13 22:30:45 -07:00
build-Win32Debug.bat
build-Win32Release.bat
build-all-v142.bat Point back to latest lib/modules master 2020-08-17 10:59:11 -07:00
build-all.bat Let's disable DEBUG builds for vs2017 to save more space 2020-09-25 01:19:19 -07:00
build-android.cmd Addressing code review comments 2020-10-09 01:37:03 -07:00
build-clang.sh
build-cmake-clang-vs2017.cmd Point back to latest lib/modules master 2020-08-17 10:59:11 -07:00
build-cmake-clang-vs2019.cmd Point back to latest lib/modules master 2020-08-17 10:59:11 -07:00
build-docker.cmd Update build-docker.cmd 2020-05-02 11:30:59 -07:00
build-docker.sh
build-gtest.sh Add support MacOS arm64 (#763) 2021-01-15 22:03:39 -08:00
build-ios.sh Add support for 1DSSDK iOS build script to generate binary for iOS arm simulator. 2021-02-04 13:15:53 -08:00
build-rhel.sh
build-tests-ios.sh Build gtest/gmock for iOS (#346) 2020-05-06 11:58:41 -07:00
build-tests.cmd Add tests for ecs client (#597) 2020-09-10 18:13:55 +08:00
build-tests.sh fix build test 2020-09-08 12:18:13 +05:30
build-win.ps1
build-win10-compact.bat Point back to latest lib/modules master 2020-08-17 10:59:11 -07:00
build-win10-min.bat Point back to latest lib/modules master 2020-08-17 10:59:11 -07:00
build-x64Debug.bat
build-x64Release.bat
build-xamarin.sh Add missing methods and properties to obj-c wrapper with corresponding Xamarin bindings (#750) 2021-01-07 09:29:54 -08:00
build.sh Add support MacOS arm64 (#763) 2021-01-15 22:03:39 -08:00
install.sh Verified the flow on Linux for static and shared library. Use new Google Test for Ubuntu 20.04 (old one no longer compiles) 2020-09-22 01:16:29 -07:00
mat-sdk.spec.in Update version for 2021 to v3.5 2021-01-19 14:09:52 -08:00
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 4.8.x, 4.9.4
Ubuntu 14.04.1 LTS GCC 5.x.x
Ubuntu 16.04 LTS GCC 5.x.x (armv7l)
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 (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.