Skip to content

benbpyle/momento-go-ddtrace

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

momento-go-ddtrace

Purpose:

Wrap the Momento Client with custom Datadog tracing. Each operation will get a separate Span attached to the trace based on the context supplied. The operation name will be set as well based upon the Method call

Usage

import (
	"github.com/benbpyle/momento-go-ddtrace"
)

func NewMomentoClient(token string) (momento.CacheClient, error) {
	// Initializes Momento
	return momentoddtrace.NewWrappedCacheClient(token)
}

About

Library for instrumenting Moment Cache Client with Datadog tracing

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages