Add HttpReceiver as counterpart to the HttpSink (#49)

This commit is contained in:
Thomas Gruber
2022-03-05 17:30:55 +01:00
committed by GitHub
parent f2486abeab
commit c0e600269a
3 changed files with 142 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ This allows to specify
- [`nats`](./natsReceiver.md): Receive metrics from the NATS network
- [`prometheus`](./prometheusReceiver.md): Scrape data from a Prometheus client
- [`http`](./httpReceiver.md): Listen for HTTP Post requests transporting metrics in InfluxDB line protocol
# Contributing own receivers
A receiver contains a few functions and is derived from the type `Receiver` (in `metricReceiver.go`):