Skip to content

billcchung/example-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-service

a simple gRPC server with google cloud profiler integration

Running Server

You can run the server with

go run main.go -p $GOOGLE_CLOUD_PROJECT_ID -v $SERVICE_VERSION

Running client

Once the server is running, you can then run the client inside tools folder, since cloud profiler samples one profile every minute, you can call the client multiple times to ensure samples has functions captured, e.g.,

for i in $(seq 1 100); do go run tools/connect.go ; done

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published