Documentation ¶
Overview ¶
Package handlers provides an Ops type that has methods that implement bot.HandleFunc for various commands that could be sent to a bot.
Index ¶
- type Ops
- func (o Ops) ChangeSampling(ctx context.Context, m bot.Message)
- func (o Ops) Help(ctx context.Context, m bot.Message)
- func (o Ops) ListTraces(ctx context.Context, m bot.Message)
- func (o Ops) Register(b *bot.Bot)
- func (o Ops) ShowLogs(ctx context.Context, m bot.Message)
- func (o Ops) ShowTrace(ctx context.Context, m bot.Message)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ops ¶
Ops provides bot.HandleFunc methods that can reuse the connections to the Ops service.
func (Ops) ChangeSampling ¶
ChangeSampling changes the sampling type/rate on the server.
func (Ops) ListTraces ¶
ListTraces lists all the traces requested in a table that is output to the user.
Click to show internal directories.
Click to hide internal directories.