sdserver

package
v0.0.0-...-1538fac Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package sdserver provides the diagnostic hooks for a server using Stackdriver.

Index

Constants

This section is empty.

Variables

Set is a Wire provider set that provides the diagnostic hooks for *server.Server given a GCP token source and a GCP project ID.

Functions

func NewExporter

func NewExporter(id gcp.ProjectID, ts gcp.TokenSource) (*stackdriver.Exporter, error)

NewExporter returns a new OpenCensus Stackdriver exporter.

func NewRequestLogger

func NewRequestLogger() *requestlog.StackdriverLogger

NewRequestLogger returns a request logger that sends entries to stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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