Skip to content

Commit

Permalink
Add observability documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rupurt committed Mar 17, 2021
1 parent 1ee35c4 commit 35b1d36
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A composable, real time, market data and trade execution toolkit. Built with [Elixir](https://elixir-lang.org/), runs on the [Erlang virtual machine](http://erlang.org/faq/implementations.html)

[Built with Tai](./docs/BUILT_WITH_TAI.md) | [Install](#install) | [Usage](#usage) | [Commands](./docs/COMMANDS.md) | [Architecture](./docs/ARCHITECTURE.md) | [Examples](./apps/examples) | [Configuration](./docs/CONFIGURATION.md)
[Built with Tai](./docs/BUILT_WITH_TAI.md) | [Install](#install) | [Usage](#usage) | [Commands](./docs/COMMANDS.md) | [Architecture](./docs/ARCHITECTURE.md) | [Examples](./apps/examples) | [Configuration](./docs/CONFIGURATION.md) | [Observability](./docs/OBSERVABILITY.md)

## What Can I Do? TLDR;

Expand Down
4 changes: 3 additions & 1 deletion apps/examples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Examples

[Built with Tai](../../docs/BUILT_WITH_TAI.md) | [Install](../../README.md#install) | [Usage](../../README.md#usage) | [Commands](../../docs/COMMANDS.md) | [Architecture](../../docs/ARCHITECTURE.md) | [Examples](./README.md) | [Configuration](../../docs/CONFIGURATION.md)
[Built with Tai](../../docs/BUILT_WITH_TAI.md) | [Install](../../README.md#install) | [Usage](../../README.md#usage) | [Commands](../../docs/COMMANDS.md) | [Architecture](../../docs/ARCHITECTURE.md) | [Examples](./README.md) | [Configuration](../../docs/CONFIGURATION.md) | [Observability](../../docs/OBSERVABILITY.md)



### [Log the spread of every order book](./lib/examples/log_spread)

Expand Down
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Architecture

[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md)
[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md) | [Observability](./OBSERVABILITY.md)

## Advisors

Expand Down
3 changes: 2 additions & 1 deletion docs/BUILT_WITH_TAI.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Built with Tai

[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md)
[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md) | [Observability](./OBSERVABILITY.md)


## [Workbench](https://github.com/fremantle-industries/workbench)

Expand Down
3 changes: 2 additions & 1 deletion docs/COMMANDS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Commands

[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md)
[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md) | [Observability](./OBSERVABILITY.md)


To monitor your instance, `tai` provides the following set of IEx commands.

Expand Down
3 changes: 2 additions & 1 deletion docs/CONFIGURATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Configuration

[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md)
[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md) | [Observability](./OBSERVABILITY.md)


To quickly get started, take a look at the [example dev configuration](../config/dev.exs.example) for some available options.

Expand Down
14 changes: 14 additions & 0 deletions docs/OBSERVABILITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Observability

[Built with Tai](./BUILT_WITH_TAI.md) | [Install](../README.md#install) | [Usage](../README.md#usage) | [Commands](./COMMANDS.md) | [Architecture](./ARCHITECTURE.md) | [Examples](../apps/examples/README.md) | [Configuration](./CONFIGURATION.md)

Using the power of the wonderful [telemetry](https://elixirschool.com/blog/instrumenting-phoenix-with-telemetry-part-one/)
library `tai` emits metrics that can be used to visualize and alert on the
inner workings of your trading systems.

```elixir
# streams
[:tai, :venues, :stream, :connect]
[:tai, :venues, :stream, :disconnect]
[:tai, :venues, :stream, :terminate]
```

0 comments on commit 35b1d36

Please sign in to comment.