Documentation ¶
Index ¶
- Constants
- func Count(ctx context.Context, opts *options.TerragruntOptions, name string, value int64)
- func InitTelemetry(ctx context.Context, opts *TelemetryOptions) error
- func ShutdownTelemetry(ctx context.Context) error
- func Telemetry(ctx context.Context, opts *options.TerragruntOptions, name string, ...) error
- func Time(ctx context.Context, opts *options.TerragruntOptions, name string, ...) error
- func Trace(ctx context.Context, opts *options.TerragruntOptions, name string, ...) error
- type ErrorMissingEnvVariable
- type TelemetryOptions
Constants ¶
View Source
const (
ErrorsCounter = "errors"
)
Variables ¶
This section is empty.
Functions ¶
func InitTelemetry ¶
func InitTelemetry(ctx context.Context, opts *TelemetryOptions) error
InitTelemetry - initialize the telemetry provider.
func ShutdownTelemetry ¶
ShutdownTelemetry - shutdown the telemetry provider.
func Telemetry ¶
func Telemetry(ctx context.Context, opts *options.TerragruntOptions, name string, attrs map[string]interface{}, fn func(childCtx context.Context) error) error
Telemetry - collect telemetry from function execution - metrics and traces.
Types ¶
type ErrorMissingEnvVariable ¶
type ErrorMissingEnvVariable struct {
Vars []string
}
ErrorMissingEnvVariable error for missing environment variable.
func (*ErrorMissingEnvVariable) Error ¶
func (e *ErrorMissingEnvVariable) Error() string
Click to show internal directories.
Click to hide internal directories.