Meta tags:
description= Hypertrace Go Agent. Contribute to hypertrace/goagent development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, server, contributing, http, running, grpc, repository, about, and, files, deprecated, this, repo, package, footer, topics, resources, code, of, conduct, stars, watchers, forks, client, examples, options, filter, go, agent, menu, latest, commit, history, folders, is, new, changes, will, no, longer, be, made, to, getting, started, net, hyperhttp, gin, gonic, google, golang, org, hypergrpc, other, instrumentations, releases, packages, contributors, languages, tests, releasing, further, reference,
Text of the page (most frequently used words):
the (28), github (21), hypertrace (18), #server (17), http (17), run (16), and (15), grpc (14), #client (14), instrumentation (13), code (12), goagent (10), config (10), for (9), examples (9), main (9), can (8), agent (7), com (7), hypergrpc (7), gin (7), hyperhttp (7), you (6), repository (6), contributing (6), filter (6), all (6), cfg (6), security (5), conduct (5), license (5), readme (5), about (5), release (5), tests (5), with (5), relies (5), net (5), this (4), navigation (4), forks (4), stars (4), more (4), another (4), will (4), version (4), commit (4), terminal (4), err (4), import (4), component (4), added (4), options (4), filters (4), middleware (4), foo (4), bar (4), features (4), yml (4), signed (4), your (4), support (4), copilot (4), apache (3), resources (3), new (3), make (3), docker (3), running (3), conn (3), defer (3), func (3), google (3), golang (3), org (3), transport (3), unaryserverinterceptor (3), request (3), files (3), actions (3), quality (3), tab (3), window (3), refresh (3), session (3), reload (3), sign (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), build (3), that (2), not (2), information (2), community (2), status (2), footer (2), releases (2), report (2), watching (2), watchers (2), custom (2), properties (2), activity (2), hacktoberfest (2), distributed (2), tracing (2), topics (2), blog (2), further (2), change (2), hardcoded (2), tag (2), next (2), version_number (2), test (2), unit (2), gorilla (2), dial (2), nil (2), filter2 (2), filter1 (2), newmultifilter (2), withfilter (2), unaryinterceptor (2), part (2), multiple (2), they (2), sequence (2), until (2), returns (2), true (2), blocked (2), are (2), filtering (2), declarations (2), package (2), example (2), hypergin (2), use (2), flusher (2), init (2), string (2), servicename (2), load (2), req (2), foohandler (2), newhandler (2), handle (2), mux (2), file (2), shutdown (2), deprecated (2), repo (2), items (2), sum (2), mod (2), codecov (2), makefile (2), snyk (2), golangci (2), gitignore (2), tools (2), sdk (2), last (2), message (2), name (2), 280 (2), commits (2), latest (2), menu (2), must (2), star (2), settings (2), insights (2), projects (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, manage, cookies, contact, docs, privacy, terms, 2026, inc, languages, contributors, packages, read, yet, post, reference, should, follow, semver, script, push, prepare, after, page, draft, based, releasing, only, requires, hypermux, database, hypersql, other, instrumentations, newcustomclient, close, could, fatalf, log, unaryclientinterceptor, withunaryinterceptor, withblock, withinsecure, address, newserver, then, localhost, 8080, ping, default, adding, gonic, res, get, newrequest, defaulttransport, newtransport, newrouter, handler, values, declared, env, variables, check, section, myservice, setting, done, few, lines, getting, started, provides, set, complementary, collecting, relevant, data, processed, please, traceableai, changes, longer, made, view, date, folders, history, open, tags, branches, fork, notification, notifications, public, pull, requests, issues, dismiss, alert, switched, accounts, out, appearance, search, pricing, event, talks, workshops, what, partners, company, forum, events, webinars, resource, connect, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, improvements, across, one, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, tasks, automated, work, hosting, review, collaboration, platform, skip, content,
Text of the page (random words):
github hypertrace goagent hypertrace go agent github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message hypertrace goagent repository navigation code issues pull requests actions projects security and quality insights more items goagent public notifications you must be signed in to change notification settings fork 9 9 star 9 9 you must be signed in to star a repository about hypertrace go agent topics distributed tracing go hacktoberfest hypertrace instrumentation resources readme apache 2 0 license code of conduct code of conduct contributing contributing activity custom properties stars 9 stars watchers 2 watching forks 9 forks report repository main branches tags go to file code open more actions menu latest commit history 280 commits 280 commits folders and files name name last commit message last commit date github github config config examples examples instrumentation instrumentation sdk sdk tests docker tests docker tools tools version version gitignore gitignore golangci yml golangci yml snyk snyk license license makefile makefile readme md readme md codecov yml codecov yml go mod go mod go sum go sum release sh release sh view all files repository files navigation readme code of conduct contributing apache 2 0 license more items go agent deprecated this repo is deprecated and new changes will no longer be made to this repo please use traceableai goagent goagent provides a set of complementary instrumentation features for collecting relevant data to be processed by hypertrace getting started setting up go agent can be done with a few lines import github com hypertrace goagent config func main cfg config load cfg servicename config string myservice shutdown hypertrace init cfg defer shutdown config values can be declared in config file env variables or code for further information about config check this section package net hyperhttp http server the server instrumentation relies on the http handler component of the server declarations import net http github com gorilla mux github com hypertrace goagent instrumentation hypertrace net hyperhttp func main r mux newrouter r handle foo bar hyperhttp newhandler foohandler foo bar options filter filtering can be added as part of options multiple filters can be added and they will be run in sequence until a filter returns true request is blocked or all filters are run r handle foo bar hyperhttp newhandler foohandler foo bar hyperhttp withfilter filter newmultifilter filter1 filter2 http client the client instrumentation relies on the http transport component of the http client in go import net http github com hypertrace goagent instrumentation hypertrace net hyperhttp client http client transport hyperhttp newtransport http defaulttransport req _ http newrequest get http example com nil res err client do req running http examples in terminal 1 run the client go run examples http client main go in terminal 2 run the server go run examples http server main go gin gonic server gin server instrumentation relies on adding the hypergin middleware middleware to the gin server r gin default cfg config load cfg servicename config string http gin server flusher hypertrace init cfg defer flusher r use hypergin middleware to run an example gin server with the hypertrace middleware go run examples gin server main go then make a request to localhost 8080 ping package google golang org hypergrpc grpc server the server instrumentation relies on the grpc unaryserverinterceptor component of the server declarations server grpc newserver grpc unaryinterceptor hypergrpc unaryserverinterceptor options filter filtering can be added as part of options multiple filters can be added and they will be run in sequence until a filter returns true request is blocked or all filters are run grpc unaryinterceptor hypergrpc unaryserverinterceptor hypergrpc withfilter filter newmultifilter filter1 filter2 grpc client the client instrumentation relies on the http transport component of the http client in go import hypergrpc github com hypertrace goagent instrumentation hypertrace google golang org hypergrpc google golang org grpc func main conn err grpc dial address grpc withinsecure grpc withblock grpc withunaryinterceptor hypergrpc unaryclientinterceptor if err nil log fatalf could not dial v err defer conn close client pb newcustomclient conn running grpc examples in terminal 1 run the client go run examples grpc client main go in terminal 2 run the server go run examples grpc server main go other instrumentations database hypersql github com gorilla hypermux contributing running tests tests can be run with requires docker make test for unit tests only make test unit releasing run release sh version_number version_number should follow semver e g 1 2 3 the script will change the hardcoded version commit it push a tag and prepare the hardcoded version for the next release after that go to the releases page and draft a new release based on the new tag further reference read more about goagent in the yet another go agent blog post about hypertrace go agent topics distributed tracing go hacktoberfest hypertrace instrumentation resources readme apache 2 0 license code of conduct code of conduct contributing contributing activity custom properties stars 9 stars watchers 2 watching forks 9 forks report repository releases packages contributors languages footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|