Documentation ¶
Index ¶
- type Agent
- type Config
- type DiffFileItem
- type GitData
- type GitDiff
- type Option
- func WithAgentType(agentType string) Option
- func WithApiEndpoint(apiEndpoint string) Option
- func WithApiKey(apiKey string) Option
- func WithConfiguration(values map[string]interface{}) Option
- func WithConfigurationKeys(keys []string) Option
- func WithDebugEnabled() Option
- func WithGitInfo(repository string, commitSha string, sourceRoot string) Option
- func WithGlobalPanicHandler() Option
- func WithHandlePanicAsFail() Option
- func WithMetadata(values map[string]interface{}) Option
- func WithRecorders(recorders ...tracer.SpanRecorder) Option
- func WithRetriesOnFail(retriesCount int) Option
- func WithServiceName(service string) Option
- func WithSetGlobalTracer() Option
- func WithTestingModeEnabled() Option
- func WithUserAgent(userAgent string) Option
- type PayloadEvent
- type PayloadSpan
- type Profile
- type RecorderStats
- type SpanRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
type Config ¶
type DiffFileItem ¶
type GitData ¶
type GitDiff ¶
type GitDiff struct { Type string `json:"type" msgpack:"type"` Version string `json:"version" msgpack:"version"` Uuid string `json:"uuid" msgpack:"uuid"` Files []DiffFileItem `json:"files" msgpack:"files"` }
type Option ¶
type Option func(*Agent)
func WithConfiguration ¶ added in v0.1.6
func WithRecorders ¶ added in v0.1.12
func WithRecorders(recorders ...tracer.SpanRecorder) Option
type Profile ¶
type RecorderStats ¶ added in v0.1.10
type RecorderStats struct {
// contains filtered or unexported fields
}
type SpanRecorder ¶
func NewSpanRecorder ¶
func NewSpanRecorder(agent *Agent) *SpanRecorder
func (*SpanRecorder) RecordSpan ¶
func (r *SpanRecorder) RecordSpan(span tracer.RawSpan)
Appends a span to the in-memory buffer for async processing
Click to show internal directories.
Click to hide internal directories.