addAWSXrayMetadata

An undocumented function related to AWS X-Ray tracing. It appears in the list returned by getFunctionList(), but Adobe has no official documentation for it.

addAWSXrayMetadata(key, value) → returns any

This function requires Adobe ColdFusion 2021 and up.  Not supported on Lucee, etc.

Argument Reference

key string
Required

Metadata key.

value any
Required

Metadata value.

Compatibility

ColdFusion:

Version 2021+ Listed by getFunctionList() in ColdFusion 2021+. No official documentation exists.

Examples
Sample code invoking the addAWSXrayMetadata function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub