Skip to content

sagikazarmark/ocmux

Repository files navigation

Gorilla Mux integration for Open Census

CircleCI Go Report Card GolangCI Go Version GoDoc

Installation

$ go get github.com/sagikazarmark/ocmux

Usage

package main

import (
	"github.com/gorilla/mux"
	"github.com/sagikazarmark/ocmux"
)

func main() {
	router := mux.NewRouter()
	router.Use(ocmux.Middleware())
}

Attribution

Based on the work of @basvanbeek: https://github.com/basvanbeek/opencensus-gorilla_mux-example

Removed some Zipkin specific code, added a few features.

License

The MIT License (MIT). Please see License File for more information.

About

Gorilla Mux integration for Open Census

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published