Git Product home page Git Product logo

blkin's Introduction

#blkin

BlkKin is a project that enables you to trace low-overhead applications using LTTng following the tracing semantics that are described in Google's Dapper Paper

According to this paper the logged information is called Annotation and belongs to a specific span and trace. Each trace is comprised of multiple spans which are related with each other with causal relationships. So, the BlkKin library gives the user the API to easily instrument C/C++ applications. In order to instrument applications you should take a look at blkin-lib/tests for some testcases and at the blkin-lib/zipkin_c.h file

As a tracing backend BlkKin uses LTTng. So you must have LTTng installed.

In order to visualize the aggregated information you can use Twitter's Zipkin and send the data that you created, by running the equivalent babeltrace plugin. In order to do you can run

./zipkin/src/babeltrace_zipkin.py </path/to/lttng/traces> -s <server_ip>
-p <port_number>

within the babeltrace-plugins directory.

In case you have not used the blkin-lib to instrument your application, you can still send your data to a Scribe server. To do that you can use another Babeltrace plugin. This plugin tranforms LTTng trace data to a JSON format and sends them to a Scribe sever.To do so we can equivalently run

./json/src/babeltrace_json.py </path/to/lttng/traces> -s <server_ip>
-p <port_number>

within the babeltrace-plugins directory

Both of these plugins require that you have installed Babeltrace with its Python bindings enabled. The path to the lttng traces should not be the root directory but the directory where the channel directories are included.

Dependencies

  • libboost-all-dev
  • lttng-tools

blkin's People

Contributors

marioskogias avatar philipgian avatar agshew avatar

Watchers

Alexander Gallego 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.