From dffe8af9da850591d51317c705077b83ac03cd74 Mon Sep 17 00:00:00 2001 From: Joe Elliott Date: Wed, 9 Oct 2019 17:34:26 -0400 Subject: [PATCH] Moved client docs and add serilog example Signed-off-by: Joe Elliott --- docs/api.md | 11 +---------- docs/clients/README.md | 8 ++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/api.md b/docs/api.md index 8a2edde65b6f7..95753fe8e3d10 100644 --- a/docs/api.md +++ b/docs/api.md @@ -48,7 +48,7 @@ And these endpoints are exposed by just the ingester: The API endpoints starting with `/loki/` are [Prometheus API-compatible](https://prometheus.io/docs/prometheus/latest/querying/api/) and the result formats can be used interchangeably. -[Example clients](#example-clients) can be found at the bottom of this document. +A [list of clients](./clients) can be found in the clients documentation. ## Matrix, Vector, And Streams @@ -628,12 +628,3 @@ In microservices mode, the `/flush` endpoint is exposed by the ingester. for a list of exported metrics. In microservices mode, the `/metrics` endpoint is exposed by all components. - -## Example Clients - -Please note that the Loki API is not stable yet and breaking changes may occur -when using or writing a third-party client. - -- [Promtail](https://github.com/grafana/loki/tree/master/pkg/promtail) (Official, Go) -- [promtail-client](https://github.com/afiskon/promtail-client) (Go) -- [push-to-loki.py](https://github.com/sleleko/devops-kb/blob/master/python/push-to-loki.py) (Python 3) diff --git a/docs/clients/README.md b/docs/clients/README.md index 064453d4aaf8f..b58dbc6e58cf3 100644 --- a/docs/clients/README.md +++ b/docs/clients/README.md @@ -41,3 +41,11 @@ and you already have configured `Parser` and `Filter` plugins. Fluentd also works well for extracting metrics from logs when using its Prometheus plugin. +# Unofficial Clients + +Please note that the Loki API is not stable yet and breaking changes may occur +when using or writing a third-party client. + +- [promtail-client](https://github.com/afiskon/promtail-client) (Go) +- [push-to-loki.py](https://github.com/sleleko/devops-kb/blob/master/python/push-to-loki.py) (Python 3) +- [Serilog-Sinks-Loki](https://github.com/JosephWoodward/Serilog-Sinks-Loki) (C#) \ No newline at end of file