News KrakenD Enterprise v2.6 released with OpenTelemetry, FIPS-140, gRPC server and more

Community Documentation

Recent changes

You are viewing a previous version of KrakenD Community Edition (v1.3) , go to the latest version

Exporting traces to AWS X-Ray

Document updated on Sep 15, 2019

AWS X-Ray is a service offered by Amazon that provides an end-to-end view of requests as they travel through your application, and shows a map of your application’s underlying components.

The Opencensus exporter allows you export data to AWS X-Ray. Enabling it only requires you to add the xray exporter in the opencensus module.

The following configuration snippet sends data to your X-Ray:

"github_com/devopsfaith/krakend-opencensus": {
  "exporters": {
    "xray": {
		"version": "latest",
        "region": "eu-west-1",
		"use_env": false,
        "access_key_id": "myaccesskey",
        "secret_access_key": "mysecretkey"
	},
  }
}
  • version: The version of the AWS X-Ray service to use.
  • region: The AWS geographical region.
  • use_env: When true the AWS credentials (access_key_id and secret_access_key) are taken from environment vars. Don’t specify them then.
  • access_key_id: Your access key ID provided by Amazon. Needed when use_env is unset or set to false.
  • secret_access_key: Your secret access key provided by Amazon. Needed when use_env is unset or set to false.

See also the additional settings of the Opencensus module that can be declared.

Scarf

Unresolved issues?

The documentation is only a piece of the help you can get! Whether you are looking for Open Source or Enterprise support, see more support channels that can help you.