142.4.1 ADD_ENDPOINT Procedure

The ADD_ENDPOINT procedure creates an endpoint that the Oracle AI Database can connect to and export OTLP (OpenTelemetry Protocol) data.

Syntax

DBMS_OBSERVABILITY.ADD_ENDPOINT( endpoint_type   IN BINARY_INTEGER,
                                 endpoint        IN VARCHAR2,
                                 credential_name IN VARCHAR2 DEFAULT NULL );

Parameters

Table 142-7 ADD_ENDPOINT Procedure Parameters

Parameter Description

endpoint_type

The endpoint type.

endpoint

The endpoint URI to add.

credential_name

The name of the credential used with the specified endpoint.

Usage Notes

The endpoint should be configured inside the container in which it will be used and is enabled by default.

Examples

The following example illustrates how to add an endpoint for https://example.com:1234/ot_endp/v1/traces where no credential is required:
execute dbms_observability.add_endpoint( endpoint_type   => dbms_observability.otel_traces,
                                         endpoint        => 'https://example.com:1234/ot_endp/v1/traces',
                                         credential_name => NULL );