Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

udoprog/libffwd-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A c++ client to FastForward »

Build Status

A c++ client for the native protobuf protocol of ffwd.

Usage

# test1.cpp
#include <ffwd.hpp>

const ffwd::client c;
const ffwd::metric foo = ffwd::metric().key("foo");

int main(int argc, char* argv[]) {
  c.send(foo.attribute("id", "foo").value(1));
  c.send(foo.attribute("id", "bar").value(2));
  return 0;
}
$> g++ test1.cpp -lffwd-client -o test1
$> ./test1

This project also comes with the libffwd-client-send command for generating events and metrics.

Installation

libffwd-client currently has to be built and distributed through source.

Dependencies are.

  • libffwd-client
  • protobuf
  • ffwd-client-send (optional)
  • boost 1.53
$> cmake .
...
$> make
...
$> sudo make install

Contributing

  1. Fork libffwd-client from github and clone your fork.
  2. Hack.
  3. Push the branch back to GitHub.
  4. Send a pull request to our upstream repo.

About

c++ client for fast forward

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages