apmmongo

package module
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 12

Documentation

Overview

Package apmmongo provides a CommandMonitor implementation for tracing Mongo commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandMonitor

func CommandMonitor(opts ...Option) *event.CommandMonitor

CommandMonitor returns a new event.CommandMonitor which will report a span for each command executed within a context containing a sampled transaction.

Types

type Option

type Option func(*commandMonitor)

Option sets options for tracing MongoDB commands.

Jump to

Keyboard shortcuts

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