Telemetry
AvaTax app uses Open Telemetry (OTEL) protocol to send signals to your collector of choice.
This feature is in the Feature Preview stage, which means that it is available for experimentation and feedback. However, it is still undergoing development and is subject to modifications. If you want to try it contact our team.
App automatically instruments several spans for you to provide useful insights into AvaTax app performance.
Attributes on spans follow OpenTelemetry semantic conventions.
executing checkoutCalculateTaxes webhook handler​
This span represents process of handling checkoutCalculateTaxes event. It keep track of success and failures responses send back to Saleor and in case of failure record exception.
Attributes:
kind:SERVERcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful webhook handling confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloud
executing orderCalculateTaxes webhook handler​
This span represents process of handling orderCalculateTaxes event. It keep track of success and failures responses send back to Saleor and in case of failure record exception.
Attributes:
kind:SERVERcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful webhook handling confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloud
executing orderCancelled webhook handler​
This span represents process of handling orderCancelled event. It keep track of success and failures responses send back to Saleor and in case of failure record exception.
Attributes:
kind:SERVERcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful webhook handling confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloud
executing orderConfirmed handler​
This span represents process of handling orderConfirmed event. It keep track of success and failures responses send back to Saleor and in case of failure record exception.
Attributes:
kind:SERVERcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful webhook handling confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloud
calling AvaTax createOrAdjustTransaction API​
This span represents process of sending transaction information to AvaTax API. It keep track of success and failures responses and in case of failure record exception.
It will be visible as child of executing checkoutCalculateTaxes webhook handler, executing orderCalculateTaxes webhook handler or executing orderConfirmed handler - depending on which handler was called.
Attributes:
kind:CLIENTcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful API call confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloudpeer.service:avataxavatax.document_type: one of AvaTax document typeavatax.enviroment: eithersandboxorproduction
calling AvaTax voidTransaction API​
This span represents process of voiding transaction information in AvaTax API. It keep track of success and failures responses and in case of failure record exception.
It will be visible as child of executing orderCancelled webhook handler.
Attributes:
kind:CLIENTcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful API call confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloudpeer.service:avataxavatax.code: AvaTax voided reason code:DocVoidedavatax.enviroment: eithersandboxorproduction
calling AvaTax listEntityUseCodes API​
This span represents process of retreiving entity code information from AvaTax API. It keep track of success and failures responses and in case of failure record exception.
It will be visible as child of executing checkoutCalculateTaxes webhook handler or executing orderCalculateTaxes webhook handler if you provide avataxEntityCode on Order or Checkout metadata.
Attributes:
kind:CLIENTcode:OKfor success andERRORfor case of errormessage: Internal app message - in case of error: exception reason and in case of success: successful API call confirmationsaleor.enviroment_domain: Your store domain e.g:your-store.saleor.cloudpeer.service:avataxavatax.use_code: code used to filter listEntityUseCodes AvaTax API