Skip to main content

Application Response Measurement (ARM) Version 4.0

Project description

Python language bindings for the Application Response Measurement (ARM) Version 4.0 standard.

This module provides a Python language implementation of the ARM 4.0 standard. At it’s simplest, it’s a straight exposure of the C language bindings with enough concessions to make it fit the Python language.


import arm4

# Register app_id = arm4.register_application (“Python test”) tran_id = arm4.register_transaction (app_id, “Python hello world”)

# Start our application and transaction measurements app_handle = arm4.start_application (app_id, “Example”) tran_handle = arm4.start_transaction (app_handle, tran_id)

# Do our work print ‘Hello, world!’

# Stop our measurements arm4.stop_transaction (tran_handle) # Default status is arm4.ARM_STATUS_GOOD arm4.stop_application (app_handle)

# Finish up arm4.destroy_application (app_id)

This is a simple example that doesn’t make use of ARM’s advanced correlators or metrics. More examples can be found at

This module is based on the ARM Issue 4.0, Version 2 - C Binding standard. More information can be found at

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Arm4, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size Arm4-1.2.tar.gz (31.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page