@ -21,8 +21,8 @@ In this situation, the tenant ID is defaulted to be `fake`.
### Metrics
Both Loki and promtail expose a `/metrics` endpoint for Prometheus metrics.
You need add right target info into [prometheus service discovery config](https://prometheus.io/docs/prometheus/latest/configuration/configuration)
then you can get following metrics.
You need a local Prometheus and make sure it can add your Loki and promtail as targets, [see Prometheus configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration).
When Prometheus can scrape Loki and promtail, you get the following metrics:
Loki metrics:
@ -88,13 +88,13 @@ Example config for using S3 & DynamoDB:
There is an example table manager deployment inside the ksonnet deployment method. You can find it [here](../production/ksonnet/loki/table-manager.libsonnet)
There is an example table manager deployment inside the ksonnet deployment method. You can find it [here](../production/ksonnet/loki/table-manager.libsonnet)
If you set your DynamoDB table manually, ensure you set the primary index key to `h`
(string) and use `r` (binary) as the sort key. Make sure adjust your throughput base on your usage.