# Logging & Observability

> Available S3 endpoint: `a-s3.aur.lu` (France, Albi).

## Loki (boltdb-shipper, object store)

Horizontally‑scalable log aggregation system. Stores log chunks and indexes in S3‑compatible object storage when using boltdb‑shipper.

- Homepage: [Loki](https://grafana.com/oss/loki/)
- Docs: [Loki Documentation](https://grafana.com/docs/loki/latest/)
```yaml title="loki-config.yaml excerpt"
storage_config:
  aws:
    s3: s3://<YOUR_ACCESS_KEY>:<YOUR_SECRET_KEY>@a-s3.aur.lu
    s3forcepathstyle: true
    s3signatureversion: v4
  boltdb_shipper:
    shared_store: s3
schema_config:
  configs:
  - from: 2024-01-01
    store: boltdb-shipper
    object_store: s3
    schema: v13
```

## Tempo (traces)

Distributed tracing backend optimized for cost‑effective storage. Supports S3 for storing trace blocks.

- Homepage: [Tempo](https://grafana.com/oss/tempo/)
- Docs: [Tempo Documentation](https://grafana.com/docs/tempo/latest/)
```yaml title="tempo.yaml excerpt"
storage:
  trace:
    backend: s3
    s3:
      bucket: tempo-traces
      endpoint: a-s3.aur.lu
      access_key: <YOUR_ACCESS_KEY>
      secret_key: <YOUR_SECRET_KEY>
      insecure: false
      path_style_access: true
```

## Thanos / Mimir (metrics long-term storage)

Long‑term Prometheus metrics at massive scale. Use S3‑compatible storage as the object store for blocks.

- Thanos: [Homepage](https://thanos.io/) · [Docs](https://thanos.io/tip/thanos/quick-tutorial.md/)
- Mimir: [Homepage](https://grafana.com/oss/mimir/) · [Docs](https://grafana.com/docs/mimir/latest/)
```yaml title="thanos config excerpt"
objstore:
  config:
    type: S3
    config:
      bucket: thanos-metrics
      endpoint: a-s3.aur.lu
      access_key: <YOUR_ACCESS_KEY>
      secret_key: <YOUR_SECRET_KEY>
      insecure: false
      signature_version2: false
      sse_config: null
```
