Skip to content

NodleCode/instrumentation-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instrumentation-rs: Simple tracing-rs initialization for GCP and local environments

Put very simply, add this crate to your project and call instrumentation::init to initlization tracing-rs correctly for each environment you run in.

Meaning:

  • if you run as a GCP Cloud Run or Kubernetes pod, we will init with JSON based logging
  • if you run locally, we will use plain text pretty logging

In either cases you can use RUST_LOG to control what is logged as usual.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages