Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { //Exporter is the name of the OTEL exporter to utilize. Currently supported values are `none` and `jaeger`. Exporter string `json:"exporter"` //ServiceName is the name to utilize in report tracing ServiceName string `json:"service-name"` Environment string `json:"environment"` //Silent will not generate any output regarding the runtime configuration of the otel system Silent bool `json:"silent"` Batched bool `json:"batched"` }
Config is used to describe the setup of the observability libraries
func DefaultConfig ¶
DefaultConfig pulls values from the environment for the service or uses sensible defaults.
type UnknownExportError ¶
type UnknownExportError struct {
Exporter string
}
func (*UnknownExportError) Error ¶
func (u *UnknownExportError) Error() string
Click to show internal directories.
Click to hide internal directories.