Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: add an example to illustrate the usage of stats handler #5657

Merged
merged 17 commits into from Nov 29, 2022

Commits on Sep 15, 2022

  1. Draft to illustrate the usage of stats handler

     Changes to be committed:
    	new file:   examples/features/stats_monitoring/README.md
    	new file:   examples/features/stats_monitoring/client/main.go
    	new file:   examples/features/stats_monitoring/server/main.go
    Yash-Handa committed Sep 15, 2022
    Copy the full SHA
    1aa4994 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2022

  1. Copy the full SHA
    7d6e7e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Made trivial changes and demonstrated ctx passing usage

     Changes to be committed:
    	modified:   examples/features/stats_monitoring/client/main.go
    	modified:   examples/features/stats_monitoring/server/main.go
    Yash-Handa committed Sep 26, 2022
    Copy the full SHA
    2198964 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2022

  1. Copy the full SHA
    fa49767 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Abstracted stats.Handler implementation to seprate package with general

    logs.
    
     Changes to be committed:
    	modified:   examples/features/stats_monitoring/README.md
    	modified:   examples/features/stats_monitoring/client/main.go
    	modified:   examples/features/stats_monitoring/server/main.go
    	new file:   examples/features/stats_monitoring/statshandler/handler.go
    Yash-Handa committed Oct 11, 2022
    Copy the full SHA
    eb9e0b7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fbadcc0 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Copy the full SHA
    7f6f4f5 View commit details
    Browse the repository at this point in the history
  2. Implemented requested suggestions.

     Changes to be committed:
    	modified:   examples/features/stats_monitoring/client/main.go
    	modified:   examples/features/stats_monitoring/server/main.go
    	modified:   examples/features/stats_monitoring/statshandler/handler.go
    Yash-Handa committed Oct 23, 2022
    Copy the full SHA
    1816acf View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. Copy the full SHA
    a671dd6 View commit details
    Browse the repository at this point in the history
  2. Switched grpclog with log package

     Changes to be committed:
    	modified:   examples/features/stats_monitoring/server/main.go
    Yash-Handa committed Oct 30, 2022
    Copy the full SHA
    b59918d View commit details
    Browse the repository at this point in the history
  3. Exported Handler type from handler package.

    Required by Vet.
    
     Changes to be committed:
    	modified:   examples/features/stats_monitoring/statshandler/handler.go
    Yash-Handa committed Oct 30, 2022
    Copy the full SHA
    bd759a0 View commit details
    Browse the repository at this point in the history
  4. Added comments to Handler.HandleConn and Handler.HandleRPC

    Required by Vet.
    
     Changes to be committed:
    	modified:   examples/features/stats_monitoring/statshandler/handler.go
    Yash-Handa committed Oct 30, 2022
    Copy the full SHA
    d14d99d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Copy the full SHA
    f10fc7f View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Added TagRPC and TagConn to README.md plus minor edits.

     Changes to be committed:
    	modified:   examples/features/stats_monitoring/README.md
    	modified:   examples/features/stats_monitoring/statshandler/handler.go
    Yash-Handa committed Nov 13, 2022
    Copy the full SHA
    c79be03 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    12fee3b View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. Copy the full SHA
    7d53b16 View commit details
    Browse the repository at this point in the history
  2. wrapped README.md to 80 columns.

     Changes to be committed:
    	modified:   examples/features/stats_monitoring/README.md
    Yash-Handa committed Nov 27, 2022
    Copy the full SHA
    d4f5f01 View commit details
    Browse the repository at this point in the history