forked from elixir-plug/plug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option for annotating pipeline plug function calls with OpenCensu…
…s spans Once a Plug pipeline gets long enough and/or executes slowly enough, a person begins to wonder, "What plug functions are taking so much time?" This patch helps answer that question by adding an option to add OpenCensus span annotations to all plug function executions in a pipeline. The new OpenCensus spans can tell you the names of each pipeline function executed and how much time elapsed in each span. Nested pipelines are fully supported.
- Loading branch information
1 parent
3193ab3
commit 70962d3
Showing
1 changed file
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters