Documentation ¶
Overview ¶
Code generated from Pkl module `OtelConfig`. DO NOT EDIT.
Code generated from Pkl module `OtelConfig`. DO NOT EDIT.
Code generated from Pkl module `OtelConfig`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OtelConfig ¶
type OtelConfig struct { // Otel Tracer is enabled TracerEnabled bool `pkl:"tracerEnabled"` // Otel Metric is enabled MetricEnabled bool `pkl:"metricEnabled"` // Otel GRPC Grpc *Grpc `pkl:"grpc"` }
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*OtelConfig, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a OtelConfig
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret *OtelConfig, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a OtelConfig
Click to show internal directories.
Click to hide internal directories.