Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 691 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 691 Bytes

Google Cloud Trace Plug

Reads trace context from x-cloud-trace-context header and adds metadata to Logger so trace context will appear in Google Cloud Logging.

Installation

If available in Hex, the package can be installed by adding google_cloud_trace_plug to your list of dependencies in mix.exs:

def deps do
  [
    {:google_cloud_trace_plug, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/google_cloud_trace_plug.