Create a gist now

Instantly share code, notes, and snippets.

@tcnksm /talk.md
Last active Aug 13, 2018

Embed
What would you like to do?
Stackdriver Profiler at Mercari

Stackdriver Profiler at Mercari

We already use Stackdriver Profiler in Production at Mercari!

Usage

Just few lines of code. You can use this non-GCP platform, too. Install this after go back home, TODAY.

 import (
   ...
   "cloud.google.com/go/profiler"
   ...
 )
 ...
 func main() {
   // Profiler initialization, best done as early as possible.
   if err := profiler.Start(profiler.Config{Service: "myservice", ServiceVersion: "1.0.0"}); err != nil {
     // TODO: Handle error.
   }
   ...
 }
@tcnksm

This comment has been minimized.

Show comment
Hide comment
@tcnksm

tcnksm Apr 15, 2018

Example of Stack driver Profiler in Mercairi

screen shot 2018-04-15 at 15 19 35_censored

Owner

tcnksm commented Apr 15, 2018

Example of Stack driver Profiler in Mercairi

screen shot 2018-04-15 at 15 19 35_censored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment