The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/devenv/docker/blocks/loki-promtail
Sven Grossmann 6f64dd533f
Devenv: Add back `loki-promtail` (#60282)
2 years ago
..
README.md Devenv: Add back `loki-promtail` (#60282) 2 years ago
docker-compose.yaml Devenv: Add back `loki-promtail` (#60282) 2 years ago
promtail-config.yaml Devenv: Add back `loki-promtail` (#60282) 2 years ago

README.md

NB: This will not work properly on MacOS. The loglines of grafana.log are ingested at the start of this devenv and you won't get any more logs are the Docker service is started.

By default this block is setup to scrape logs from Grafana. If you need to log some service from the docker-compse you can add:

    # For this to work you need to install the logging driver see https://github.com/grafana/loki/tree/master/cmd/docker-driver#plugin-installation
    logging:
      driver: loki
      options:
        loki-url: "http://loki:3100/loki/api/v1/push"