-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metric instrumentation package, instruments Sansshell-Proxy (#216)
* add metrics instrumentations * init metric during server initialization * change metrics structure to allow registration * Remove comments * add comments * fix npe * Handle metric error. Add proxy metrics * handle metric error * handle err * rm irrelevant files * add this one back * add comments * metric desc variables * change singleton to contextbased * remove unused file * Delete launch.json * Add comments Correct otel metrics function definition * update comment and change otelrecorder to interface * add comments * add test for metrics package * fix comment and remove debug statement. * naming consistency * add comment, and change beahvior of RegisterInt64Gauge to allow overwriting gauge * fix comment * fix comment typo and inconsistency * adds copyright
- Loading branch information
1 parent
43266fd
commit 6da9d98
Showing
11 changed files
with
736 additions
and
27 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
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.