Documentation ¶
Index ¶
- Constants
- func CreateCustomSpan(context context.Context, spanName string, attributes []attribute.KeyValue, ...) context.Context
- func Initialize(serviceName string, apiToken string, attrs ...attribute.KeyValue) (*trace.TracerProvider, error)
- func WithCollectorEndpoint(collectorEndpoint string) attribute.KeyValue
- func WithCollectorInsecure() attribute.KeyValue
- func WithCollectorMetricsPath(collectorMetricsPath string) attribute.KeyValue
- func WithCollectorPath(collectorPath string) attribute.KeyValue
- func WithCommitHash(commitHash string) attribute.KeyValue
- func WithDebugMode() attribute.KeyValue
- func WithDisableMetricsCollection() attribute.KeyValue
- func WithEnvironment(environment string) attribute.KeyValue
- func WithInstrumentationDisabled() attribute.KeyValue
- func WithMetadataOnlyMode() attribute.KeyValue
- func WithObfuscationAllowlistRules(allowlistRules []string) attribute.KeyValue
- func WithObfuscationBlocklistRules(blocklistRules []string) attribute.KeyValue
- func WithSamplingRatio(samplingRatio float64) attribute.KeyValue
- func WithServiceNamespace(serviceNamespace string) attribute.KeyValue
- func WithhmacKey(hMacKey string) attribute.KeyValue
- type HeliosConfig
- type HeliosProcessor
- func (heliosProcessor HeliosProcessor) ForceFlush(context.Context) error
- func (heliosProcessor HeliosProcessor) OnEnd(s trace.ReadOnlySpan)
- func (heliosProcessor HeliosProcessor) OnStart(ctx context.Context, s trace.ReadWriteSpan)
- func (heliosProcessor HeliosProcessor) Shutdown(context.Context) error
- type HeliosSampler
Constants ¶
View Source
const HELIOS_TEST_TRIGGERED_TRACE = "hs-triggered-test"
Variables ¶
This section is empty.
Functions ¶
func CreateCustomSpan ¶
func Initialize ¶
func WithCollectorEndpoint ¶
func WithCollectorInsecure ¶
func WithCollectorMetricsPath ¶ added in v0.1.19
func WithCollectorPath ¶
func WithCommitHash ¶
func WithDebugMode ¶
func WithDisableMetricsCollection ¶ added in v0.1.21
func WithEnvironment ¶
func WithInstrumentationDisabled ¶ added in v0.1.17
func WithMetadataOnlyMode ¶ added in v0.1.13
func WithObfuscationAllowlistRules ¶ added in v0.1.16
func WithObfuscationBlocklistRules ¶ added in v0.1.16
func WithSamplingRatio ¶
func WithServiceNamespace ¶ added in v0.1.20
func WithhmacKey ¶ added in v0.1.16
Types ¶
type HeliosConfig ¶
type HeliosConfig struct {
// contains filtered or unexported fields
}
type HeliosProcessor ¶
type HeliosProcessor struct{}
func (HeliosProcessor) ForceFlush ¶
func (heliosProcessor HeliosProcessor) ForceFlush(context.Context) error
func (HeliosProcessor) OnEnd ¶
func (heliosProcessor HeliosProcessor) OnEnd(s trace.ReadOnlySpan)
func (HeliosProcessor) OnStart ¶
func (heliosProcessor HeliosProcessor) OnStart(ctx context.Context, s trace.ReadWriteSpan)
type HeliosSampler ¶
type HeliosSampler struct {
// contains filtered or unexported fields
}
func NewHeliosSampler ¶
func NewHeliosSampler(samplingRatio float64) HeliosSampler
func (HeliosSampler) Description ¶
func (hs HeliosSampler) Description() string
func (HeliosSampler) ShouldSample ¶
func (hs HeliosSampler) ShouldSample(parameters trace.SamplingParameters) trace.SamplingResult
Click to show internal directories.
Click to hide internal directories.