Documentation ¶
Overview ¶
SPDX-License-Identifier: GPL-2.0-or-later
- Copyright (C) 2022 VMware, Inc. Enyinna Ochulor <eochulor@vmware.com>
- Copyright (C) 2022 VMware, Inc. Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> *
- Backend handlers of the tracer REST API.
SPDX-License-Identifier: GPL-2.0-or-later
- Copyright (C) 2022 VMware, Inc. Enyinna Ochulor <eochulor@vmware.com>
- Copyright (C) 2022 VMware, Inc. Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> *
- In-memory database with all currently configured tracing sessions.
SPDX-License-Identifier: GPL-2.0-or-later
- Copyright (C) 2022 VMware, Inc. Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> *
- Implementation of the common tracer context, used to tie together all su
Index ¶
- type Tracer
- func (t *Tracer) Destroy()
- func (t *Tracer) LocalPodsGet(c *gin.Context)
- func (t *Tracer) TraceHooksGet(c *gin.Context)
- func (t *Tracer) TraceSessionDel(c *gin.Context)
- func (t *Tracer) TraceSessionGet(c *gin.Context)
- func (t *Tracer) TraceSessionPost(c *gin.Context)
- func (t *Tracer) TraceSessionPut(c *gin.Context)
- type TracerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) LocalPodsGet ¶
get all pods, running on the local node
func (*Tracer) TraceSessionDel ¶
delete a trace session if id == "all", all trace sessions are deleted and trace subsystems are reseted
func (*Tracer) TraceSessionGet ¶
get all trace sessions
func (*Tracer) TraceSessionPost ¶
create a trace session
func (*Tracer) TraceSessionPut ¶
modify a trace session
type TracerConfig ¶
type TracerConfig struct { NodeName *string /* Name of the cluster node */ Verbose *bool /* Print informational logs on the standard output. */ Hook tracehook.HookConfig /* User configuration, specific to trace-hooks database */ Pod pods.PodConfig /* User configuration, specific to pods database */ Logger logger.LoggerConfig /* User configuration, specific to trace logger */ }
Click to show internal directories.
Click to hide internal directories.