Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To make them usable in the API Control Plane , four variables must be inserted into the configuration file. These four values are optional. If they are not provided, the agent will not be able to obtain any metrics.

Note: Your agent may not actually be using a config file. In that case, pass the extra parameters as environment variables, along with the others, prefixed with gateway., e.g. gateway.orgId.

Code Block
languageyaml
type: WSO2
url: https://host:port
user: yourUser
password: yourPassword
consumerKey: yourConsumerKey
consumerSecret: yourConsumerSecret
orgId: yourOrgId
environmentId: yourEnvironmentId

...

See here, how to obtain consumerKey and consumerSecret: https://wso2.com/choreo/docs/insights/programmatic-access-choreo-insights-api/

orgId

To get the orgId, click on your Profile in the top right and select Settings:

...

You should see the settings page for your organization, where you can click “Copy ID” to obtain the orgId:

...

environmentId

When looking at the metrics in Choreo, you can see the environmentId as env parameter in the URL.

To get the orgId, click Settings on the left. Then, in the Organization tab, click the Copy ID button next to the organization name.

:

...