This repo is for Linkerd 1. For instructions on setting up the Linkerd 2 viz extension, see the Linkerd 2 documentation.
Dead simple monitoring for linkerd.
linkerd-viz is a monitoring application based on Prometheus and Grafana, autoconfigured to collect metrics from linkerd. linkerd-viz currently supports DC/OS and Kubernetes.
linkerd-viz assumes linkerd has already been deployed onto your cluster, and
your applications have been configured to route via linkerd. You'll also need
to configure linkerd with the io.l5d.prometheus telemeter, to expose the stats
that are displayed by linkerd-viz. You should add this block to your linkerd
configuration file:
telemetry:
- kind: io.l5d.prometheusFor more information on getting started with linkerd have a look at our Getting Started guides.
docker build -t buoyantio/linkerd-viz .docker run -p 3000:3000 -p 9191:9191 buoyantio/linkerd-vizInstall the official linkerd-viz DC/OS Universe package
dcos package install linkerd-vizCustom installation
dcos marathon app add dcos/linkerd-viz.jsonView dashboard
open $PUBLIC_NODE:3000kubectl apply -f k8s/linkerd-viz.ymlView dashboard
kubectl port-forward $(kubectl get po --selector=name=linkerd-viz -o jsonpath='{.items[*].metadata.name}') 3000:3000
open http://localhost:3000First, examine and edit consul/prometheus-consul.yml to fit your ecosystem.
Run the Consul agent locally:
docker run -d --net=host consul:0.9.0 agent -bind=<external ip> -retry-join=<root agent ip>for more information see Running Consul Agent in Client Mode.
Boot linkerd-viz locally:
docker run -d --net=host -p 3000:3000 -p 9191:9191 buoyantio/linkerd-viz:0.2.0 consulView dashboard
open localhost:3000