-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tracing for incoming requests (#114)
* Add tracing for incoming requests * Add tracing for Kubernetes API calls. * Add trace span for reconciliation. Note that Kubernetes API calls made here are not traced because they are not made using the context with the span attached. * Trace requests made while preparing a StatefulSet for downscaling * Attach tags to created spans * Fix issue where calls to prepare-downscale endpoints aren't captured correctly * Use correct casing for 'POST' * Add tracing for Kubernetes API calls and add spans for main operations in prepare downscale webhook * Add missing operation to test environment role * Nest all "prepare pod for shutdown" spans under a single parent span. * Add instrumentation to no downscale webhook as well. * Add changelog entry. * Address PR feedback: exit if configuring tracing fails * Address PR feedback: use method names for span names * Address PR feedback: make span tags consistent
- Loading branch information
1 parent
5d717bb
commit eeaf904
Showing
12 changed files
with
330 additions
and
17 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ rules: | |
- list | ||
- get | ||
- watch | ||
- patch | ||
- apiGroups: | ||
- apps | ||
resources: | ||
|
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
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
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
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
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
Oops, something went wrong.