Warning Experimental and subject to significant changes to the API and CLI.
This project is a collection of utilities for processing metrics from the Singer.io specification.
The expected format of a Singer metric line is:
<TIMESTAMP> INFO METRIC: <METRIC JSON>
cargo build
maturin build
The singer-metrics
CLI provides a line-protocol
subcommand that can be used to convert Singer metrics to the InfluxDB line protocol.
$ echo 'INFO METRIC: {"metric_type": "timer", "metric": "http_request_duration", "value": 0.846369, "tags": {"my_tag": "abc"}}' \
| singer-metrics line-protocol
http_request_duration,my_tag="abc" value=0.846369 1680468150224571000