Gloo Edge
Gloo Edge is a cloud native API gateway and Ingress Controller built on Envoy proxy to route traffic and secure applications at the edge. Traceable provides a Platform agent that captures the request and sends it to Traceable Platform for observing the requests. Traceable's Platform agent for Gloo Edge only supports Gloo's enterprise edition. Gloo's free edition does not allow a few configuration that are essential for Traceable agent. All the data capture for Gloo Edge is performed using WASM filter. For more information on WASM filter, see WASM.
Following is a high-level deployment diagram for Traceable Platform agent with Gloo Edge.

When the user sends a request to Gloo Edge, the following steps are followed to capture the data:
User sends the request to Gloo Edge.
The request passes through the WASM filter.
The request then passes to the user application.
The user application sends the response which goes through the WASM filter.
WASM filter captures the data and sends it to Traceable's module extension (TME) which further sends data to Traceable Platform agent and then to the Platform.
The Gloo Edge sends the response to the user.
Before you begin
Before you start installing and configuring Traceable's Platform agent, make sure that Gloo Edge enterprise edition is installed and configured. Make sure that glooctl CLI is installed. For example,
If you are using OSX, you can use:
You can also refer to Gloo Edge documentation if you are on any other platform. Make sure that you have reasonable knowledge of Gloo Edge before proceeding with the installation.
Install Traceable Platform agent
Complete the following steps to install Traceable Platform agent:
Enter the following command to install Traceable Platform agent using Helm chart:
Make sure that the following values are configured in your Gloo Edge setup:
Configure Traceable agent and WASM filter
Configuring Traceable agent with Gloo Edge consists of the following three steps:
Inject Traceable module extension (TME) and WASM
initcontainer on the gateway proxy deployment.Create an upstream for TME.
Configure the gateway proxy to invoke the WASM filter.
Step 1 - Inject Traceable module extension and WASM init container
Enter the following commands to inject Traceable module extension and WASM init container:
Enter the following command to make the gloo-system namespace injectable:
Add annotations to the gateway proxy:
Restart the gateway proxy deployment. Enter the following command:
After the restart, you would see two pods as shown below:
Verify WASM init container injection
You can verify whether WASM init container was successfully injected by checking for init container injection and whether the /traceable-wasm-filter/ mount is added to the gateway proxy pod.
Step 2 - Create upstream for TME
To create an upstream for TME, create a YAML file named tme-upstream.yaml as shown below. The upstream is used to export data to the local TME that is running on the gateway proxy.
Apply the upstream YAML file
To apply the upstream YAML file, enter the following command:
Step 3 - Configure gateway proxy to invoke WASM filter
Complete the following steps to configure gateway proxy deployment to invoke WASM filter:
Fetch the gateway configuration. Enter the following command:
Navigate to the
specsection and add WASM filter configuration to thehttpGatewaysectionMake sure to configure the
targetClusterNamefield. This should be set toUPSTREAM_NAME_UPSTREAM_NAMESPACE_NAME. Based on thetme-upstream.yamlfile, this would betraceableai-module-extension-http_gloo_system.
Send the requests to your application and verify them in Traceable Platform.
Optional - Configure XML content capture and body capture size
You can optionally configure WASM filter to capture XML content and body capture size. Configure values for allowedContentTypes and bodyCaptureSize in WASM filter configuration as shown below:
Last updated
Was this helpful?