xrayserver

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Overview

Package xrayserver provides the diagnostic hooks for a server using AWS X-Ray.

Index

Constants

This section is empty.

Variables

ServiceSet is a Wire provider set that provides the AWS X-Ray service client given an AWS session.

Set is a Wire provider set that provides the diagnostic hooks for *server.Server. This set includes ServiceSet.

Functions

func NewExporter

func NewExporter(api xrayiface.XRayAPI) (*exporter.Exporter, func(), error)

NewExporter returns a new X-Ray exporter.

The second return value is a Wire cleanup function that calls Close on the exporter, ignoring the error.

func NewRequestLogger

func NewRequestLogger() *requestlog.NCSALogger

NewRequestLogger returns a request logger that sends entries to stdout.

func NewXRayClient

func NewXRayClient(p client.ConfigProvider) *xray.XRay

NewXRayClient returns a new AWS X-Ray client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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