mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* add jaeger support, link hot container & req span * adds jaeger support now with FN_JAEGER_URL, there's a simple tutorial in the operating/metrics.md file now and it's pretty easy to get up and running. * links a hot request span to a hot container span. when we change this to sample at a lower ratio we'll need to finagle the hot container span to always sample or something, otherwise we'll hide that info. at least, since we're sampling at 100% for now if this is flipped on, can see freeze/unfreeze etc. if they hit. this is useful for debugging. note that zipkin's exporter does not follow the link at all, hence jaeger... and they're backed by the Cloud Empire now (CNCF) so we'll probably use it anyway. * vendor: add thrift for jaeger
27 lines
1.0 KiB
CMake
27 lines
1.0 KiB
CMake
set(ANDROID_NDK "/opt/android-ndk" CACHE)
|
|
set(ANDROID_PLATFORM "android-15" CACHE)
|
|
set(ANDROID_ARCH "arch-arm" CACHE)
|
|
set(ANDROID_TOOL_ARCH "android-arm" CACHE)
|
|
set(ANDROID_CPU "armeabi-v7a" CACHE)
|
|
set(ANDROID_GCC_VERSION 4.9 CACHE)
|
|
set(HOST_ARCH linux-x86_64 CACHE)
|
|
|
|
set(CMAKE_SYSTEM_NAME Android)
|
|
set(ANDROID_SYSROOT "${ANDROID_NDK}/platforms/${ANDROID_PLATFORM}/${ANDROID_ARCH}")
|
|
set(ANDROID_TRIPLET arm-linux-androideabi)
|
|
set(ANDROID_STL "${ANDROID_NDK}/sources/cxx-stl/gnu-libstd++/${ANDROID_GCC_VERSION}")
|
|
|
|
set(_COMPILER_ROOT ${ANDROID_NDK}/prebuilt/${ANDROID_TRIPLET}-${ANDROID_GCC_VERSION}/prebuilt/${HOST_ARCH})
|
|
set(CMAKE_C_COMPILER ${_COMPILER_ROOT}/bin/${ANDROID_TRIPLET}-gcc)
|
|
set(CMAKE_CXCX_COMPILER ${_COMPILER_ROOT}/bin/${ANDROID_TRIPLET}-g++)
|
|
|
|
include_directories(
|
|
${ANDROID_STL}/include
|
|
${ANDROID_STL}/libs/${ANDROID_CPU}/include)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH ${ANDROID_SYSROOT})
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|