Crate tk_cantal

Crate tk_cantal 

Source
Expand description

§Cantal Client

Documentation | Github | Crate

This client is usually used to find out peers known to cantal, i.e. peers of the current cluster.

This is not a way to submit metrics to cantal. See libcantal for that.

We will expose more APIs, like fetching metrics later.

Structs§

Connection
Connection abstraction used to fetch data from the cantal
Peer
Info about the peer
PeersResponse
A response to the get_peers() request
ResponseFuture
Future returned by connection methods that fetches data T from cantal

Functions§

connect_local
Connects to the cantal instance on localhost