Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleNameAttribute = "ftl.module.name" OutcomeStatusNameAttribute = "ftl.outcome.status" RunnerDeploymentKeyAttribute = "ftl.deployment.key" SuccessStatus = "success" FailureStatus = "failure" )
Variables ¶
This section is empty.
Functions ¶
func SuccessOrFailureStatusAttr ¶ added in v0.324.0
Types ¶
type Config ¶
type Config struct { LogLevel log.Level `default:"error" help:"OTEL log level." env:"FTL_O11Y_LOG_LEVEL"` ExportOTEL ExportOTELFlag `help:"Export observability data to OTEL." env:"OTEL_EXPORTER_OTLP_ENDPOINT"` }
type ExportOTELFlag ¶ added in v0.138.0
type ExportOTELFlag bool
func (*ExportOTELFlag) UnmarshalText ¶ added in v0.138.0
func (e *ExportOTELFlag) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.