example-service

command module
v0.0.0-...-762eddf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL