Skip to content

/AWS1/CL_APR=>CREATEOBSERVABILITYCONF()

About CreateObservabilityConfiguration

Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.

Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision.

The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.

Method Signature

IMPORTING

Required arguments:

IV_OBSERVABILITYCONFNAME TYPE /AWS1/APROBSERVABILITYCONFNAME /AWS1/APROBSERVABILITYCONFNAME

A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.

When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.

Optional arguments:

IO_TRACECONFIGURATION TYPE REF TO /AWS1/CL_APRTRACECONFIGURATION /AWS1/CL_APRTRACECONFIGURATION

The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.

IT_TAGS TYPE /AWS1/CL_APRTAG=>TT_TAGLIST TT_TAGLIST

A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APRCREOBSERVABILITY01 /AWS1/CL_APRCREOBSERVABILITY01