Setup Guide
This guide walks you through setting up a WSO2 OpenChoreo component and obtaining the credentials required to send traces to the AMP platform.
Prerequisites
- A WSO2 OpenChoreo account. Sign up at the OpenChoreo portal if you do not have one.
Step 1: Create or select a project in OpenChoreo
- Log in to the WSO2 OpenChoreo console.
- In the left navigation, select Projects.
- Select Create Project, fill in the project name and description, then select Save.
- Open the project details page and note the Project UID — you will need this for
projectUid.
Step 2: Create a component
- Within your project, select Components in the left navigation.
- Select Create Component and configure the component name and type (for example, Service or Job).
- Select Save and open the component details page.
- Copy the Component UID — you will need this for
componentUid.
Step 3: Obtain your organization UID and environment UID
- Select your organization name in the top-right corner and select Settings.
- Under Organization Details, copy the Organization UID — this is your
orgUid. - Return to your project, select Environments in the left navigation, select the target environment, and copy its Environment UID — this is your
environmentUid.
Step 4: Generate an API key
- In the OpenChoreo console, navigate to Settings > API Keys.
- Select Generate API Key, assign a descriptive name (for example,
amp-tracing-key), and select the observability scope. - Select Generate and copy the API key value immediately — it is shown only once.
tip
Store the API key securely. Do not commit it to source control. Use Ballerina's configurable feature and a Config.toml file to supply it at runtime.
Step 5: Locate the OpenTelemetry endpoint
- In the OpenChoreo console, navigate to Settings > Observability or Endpoints.
- Copy the OTLP HTTP base URL — this is your
otelEndpoint. For local or development AMP deployments the default ishttp://localhost:22893/otel.
note
The AMP OTLP endpoint expects trace spans at /v1/traces. The connector appends this path automatically — supply only the base URL (for example, https://amp.example.com/otel).
What's next
- Action reference: Available operations