Git Product home page Git Product logo

mralias / tracing-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from signalfx/tracing-examples

0.0 1.0 0.0 4.77 MB

Examples of using third-party tracers with SignalFx

License: Apache License 2.0

Shell 6.49% JavaScript 2.09% Ruby 0.12% Python 8.00% PHP 26.65% Java 12.62% Go 8.66% C# 14.18% Kotlin 4.04% CSS 0.86% Swift 4.02% HTML 1.75% Blade 7.26% Dockerfile 1.61% SCSS 0.03% Mustache 1.62%

tracing-examples's Introduction

ℹ️  SignalFx was acquired by Splunk in October 2019. See Splunk SignalFx for more information.

SignalFx Distributed Tracing Instrumentation

Instrumentation Agnostic

SignalFx Distributed Tracing intends to be instrumentation agnostic; supporting & ingesting variety of popular open instrumentation libraries including OpenTracing, Zipkin & OpenCensus. So long as the tracer configured to send spans to SignalFx ingest endpoint uses the Zipkin v1/2 JSON wire format or Jaeger Thrift format, we will accept spans irrespective of how they were instrumented - via one of the above mentioned open libraries or a homegrown one. Our goal is to build on the shoulders of giant communities rather than re-invent the wheel with proprietary libraries/agents and give customers choice to decide what works for them without worrying about vendor lock-in.

OpenTracing    Jaeger Tracing    ZipKin    OpenCensus

For customers who have not yet instrumented their code, our default recommendation is to use OpenTracing to instrument since it has a growing ecosystem of library owners & frameworks instrumenting their code with it & use Jaeger tracer libraries to export spans to us - both of these are CNCF projects with a rapidly growing community behind them.

How should I go about instrumenting my application for distributed tracing?

RPC layer(s) and service/web framework(s) are the best places to start when thinking about how to go about instrumentating your application - both of these will likely have a large coverage area and touch a significant number of transaction paths to give you baseline tracing coverage and visualize an end-to-end trace with a service-map.

Next you should identify services critical to your business and look for areas not covered by rpc or service/web frameworks. Within these services, identify high value transactions and critical paths - instrument enough of these.

Examples

This repository contains a set of simple example applications that demonstrate using OpenTelemetry or SignalFx with various open source tracers. They are broken down by language/platform.

.NET

Java

Python

Go

Service Meshes

  • Istio
    • Istio Mixer Adapter: We have an out of process adapter available for Istio. This is an example configuration for that adapter.
    • Istio E-Commerce Application: An example application with Istio tracing using the SignalFx adapter and Envoy tracing.
  • Envoy: the Envoy proxy can be configured to report trace spans to SignalFx.
  • AWS App Mesh: An example E-Commerce application with deployment and configuration files for App Mesh on ECS.

Auto-Instrumentation

For customers who have not instrumented their applications, or have done so in an OpenTracing-compatible fashion, we offer several SignalFx Tracing libraries. Their detailed documentation is available in their respective source locations:

Examples of those auto-instrumentation techniques are available in this repository:

tracing-examples's People

Contributors

achandras avatar asuresh4 avatar brandoncurrie avatar breedx-splk avatar dependabot[bot] avatar dszmigielski avatar harnitsignalfx avatar inikem avatar jek-bao-choo avatar jkwatson avatar johnbley avatar jtmal-signalfx avatar keitwb avatar kielek avatar kuba-wu avatar mdubbyap avatar mohitmehta avatar mpetazzoni avatar owais avatar pellared avatar pjanotti avatar refs avatar rmfitzpatrick avatar seonsfx avatar sfishel-splunk avatar slernersplunk avatar sm7x avatar ssidhu-apm avatar t2t2 avatar theletterf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.