Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

go.opentelemetry.io/contrib/instrumentation/gorilla/mux

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go.opentelemetry.io/contrib/instrumentation/gorilla/mux

  • v0.7.0
  • Go
  • Socket score

Version published
Created
Source

gorilla/mux instrumentation example

An HTTP server using gorilla/mux and instrumentation. The server has a /users/{id:[0-9]+} endpoint. The server generates span information to stdout.

These instructions expect you have docker-compose installed.

Bring up the mux-server and mux-client services to run the example:

docker-compose up --detach mux-server mux-client

The mux-client service sends just one HTTP request to mux-server and then exits. View the span generated by mux-server in the logs:

docker-compose logs mux-server

Shut down the services when you are finished with the example:

docker-compose down

FAQs

Package last updated on 29 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc