Skip to content

Gostory is a Go port of the Story contextual tracing and telemetry framework

License

Notifications You must be signed in to change notification settings

israelchen/gostory

Repository files navigation

gostory

story SDK in Go

simple demo animation

package main

import (
    "github.com/israelchen/gostory"
    "github.com/israelchen/gostory/handlers"
    "github.com/israelchen/gostory/rules"
)

func main() {

    fmtHandler := handlers.NewFmtHandler(gostory.DEBUG)
    gostory.AddHandler(rules.AlwaysOn, fmtHandler)

    s := gostory.New("blah")
    defer s.Done()

    s.Info("hello, story!").AddData("count", 123)
}

..This is a work in progress..

About

Gostory is a Go port of the Story contextual tracing and telemetry framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages