Difference between revisions of "Grafana Loki"

From wikieduonline
Jump to navigation Jump to search
Line 23: Line 23:
 
== See also ==
 
== See also ==
 
* {{Grafana}}
 
* {{Grafana}}
 
+
* {{logs}}
  
 
[[Category:Grafana]]
 
[[Category:Grafana]]

Revision as of 11:44, 6 April 2022

This article is a Draft. Help us to complete it.

Wikipedia:Loki, like Prometheus, but for logs.


wget https://raw.githubusercontent.com/grafana/loki/v2.0.0/production/docker-compose.yaml -O docker-compose.yaml
docker-compose -f docker-compose.yaml up -d


docker ps
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                    NAMES
6d1c55887373        grafana/promtail:1.6.0   "/usr/bin/promtail -…"   34 seconds ago      Up 8 seconds                                 root_promtail_1
93eec3ca0727        grafana/loki:1.6.0       "/usr/bin/loki -conf…"   34 seconds ago      Up 8 seconds        0.0.0.0:3100->3100/tcp   root_loki_1
51c9d5fa1e6d        grafana/grafana:latest   "/run.sh"                34 seconds ago      Up 8 seconds        0.0.0.0:3000->3000/tcp   root_grafana_1


http://localhost:3100/metrics

Related terms

See also

Advertising: