Skip to content

qike/cloud-trace-samples-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

An example to demonstrate how to call Google StackDriver Trace API in PYTHON.

Steps

  1. Install pip

  2. Install gcloud SDK and run gcloud init and gcloud beta auth application-default login

  3. Follow instructions on: https://pypi.python.org/pypi/gax-google-devtools-cloudtrace-v1 to set up virtual environment and install gax-google-devtools-cloudtrace-v1 package.

  4. Run sample code to list_traces, get_trace, patch_traces

$ python trace_sample_gcloud.py <your GCP project id>
  1. If it's successful, you will see trace printed and links to view trace patched at Google Cloud Console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages