Use trace-request for dropshot instrumentation #4

Merged
dln merged 1 commit from dln/push-knqosptzwukk into main 2024-12-17 11:12:13 +01:00
Owner

A convenience macro for instrumenting dropshot request handlers.

This is a fork of https://github.com/oxidecomputer/rfd-api/tree/main/trace-request with some changes for flavor:

  • Use span fields instead of emitting events at start+end of request
  • Name the span based on the attributed function
  • A different opinion on field/tag names

Maybe we can/should publish this as a public crate if more people are interested?

A convenience macro for instrumenting dropshot request handlers. This is a fork of https://github.com/oxidecomputer/rfd-api/tree/main/trace-request with some changes for flavor: - Use span fields instead of emitting events at start+end of request - Name the span based on the attributed function - A different opinion on field/tag names Maybe we can/should publish this as a public crate if more people are interested?
dln added 1 commit 2024-12-17 10:51:23 +01:00
Use trace-request for dropshot instrumentation
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
31c8921aca
dln added the
Severity
Normal
Kind
Enhancement
labels 2024-12-17 10:51:31 +01:00
dln requested review from lsjostro 2024-12-17 10:51:34 +01:00
dln added a new dependency 2024-12-17 10:59:28 +01:00
dln merged commit 441c38b3d5 into main 2024-12-17 11:12:13 +01:00
dln deleted branch dln/push-knqosptzwukk 2024-12-17 11:12:13 +01:00
Sign in to join this conversation.
No description provided.