Need help with loki?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

125 Stars 5 Forks 59 Commits 2 Opened issues


Loki: Simple, Distributed Tracing

Services available


Need anything else?

Contributors list

Loki: Simple Distributed Tracing

Loki is a distributed tracing system inspired by Zipkin and Prometheus.

  • Pull Based: a central Loki app pull traces from your instrumented applications
  • Service Discover: using Prometheus' Service Discovery frameworks allows Loki to discover your app within many popular orchestrators (Kubernetes, Mesos etc) or service discovery systems (Consul, DNS etc)

Loki consists of: - A OpenTracing compatible tracer - The Loki app

Internally Loki is really just an opinionated reimplementation of OpenZipkin.

Instrumenting your app

Instrument you go application according to OpenTracing - For gRPC, use - For HTTP, use

import (

func main() { // Create a Loki tracer tracer, err := loki.NewTracer(loki.DefaultConfig)

// explicitly set our tracer to be the default tracer.

// Create an instrumented gRPC server
s := grpc.NewServer(

// Register a http handler for Loki
http.Handle("/traces", loki.Handler())
log.Fatal(http.ListenAndServe(":8080", nil))


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.