Skip to main content

OpenTelemetry Aerospike instrumentation

Project description

pypi

This library allows tracing requests made by the Aerospike library.

Installation

pip install opentelemetry-instrumentation-aerospike

Requirements

  • Python >= 3.9

  • aerospike >= 17.0.0 (minimum supported version)

Supported Operations

The following Aerospike client methods are instrumented:

  • Single Record Operations: put, get, select, exists, remove, touch, operate, append, prepend, increment

  • Batch Operations: batch_read, batch_write, batch_operate, batch_remove, batch_apply

  • Query/Scan Operations: query, scan

  • UDF Operations: apply, scan_apply, query_apply

  • Admin Operations: truncate, info_all

Aerospike Client Version Compatibility

Minimum Version: 17.0.0

Version

Changes

17.0.0

  • Removed get_many(), exists_many(), select_many() (use batch_read())

  • Removed batch_get_ops() (use batch_operate())

  • Removed admin_query_user(), admin_query_users()

18.0.0

  • Added NamespaceNotFound exception

  • Added InvalidRequest exception

  • Query.where()/select() raises exception on duplicate calls

Captured Attributes

The instrumentation captures the following attributes:

Standard Attributes:

  • db.system.name: Always “aerospike”.

  • db.namespace: Aerospike namespace.

  • db.collection.name: Aerospike set name.

  • db.operation.name: The operation being performed (e.g., “GET”, “PUT”, “QUERY”).

  • db.user: The user connected to the database (if configured).

  • server.address: The hostname or IP address of the Aerospike node.

  • server.port: The port of the Aerospike node.

  • db.operation.batch.size: Number of keys in batch operations.

Aerospike-Specific Attributes:

  • db.aerospike.key: The record key (only if capture_key=True is enabled).

  • db.aerospike.bins: List of bins being written or selected (for PUT/SELECT).

  • db.aerospike.generation: Record generation (from GET results).

  • db.aerospike.ttl: Record TTL (from GET results).

  • db.aerospike.udf.module: UDF module name.

  • db.aerospike.udf.function: UDF function name.

References

Project details


Download files

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

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opentelemetry_instrumentation_aerospike-0.61b0.dev0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_aerospike-0.61b0.dev0.tar.gz
Algorithm Hash digest
SHA256 64223202ae34a8d0b285862d677dbc1f4067d226f945dca9d1b3f82f94b52ac8
MD5 ac1a85b93d614bb27f05ece787da309e
BLAKE2b-256 d14a53286481de561fe50a18113b842a84573477fe6c84c573cd640936d6d89e

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_aerospike-0.61b0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_aerospike-0.61b0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 e49bb15fc3930999e3fec46a2be41a61e11233272b063986bfe86a3e339d2238
MD5 6f0629ad834725dcdfd198ba1f1f5709
BLAKE2b-256 6f8a3fb78694af10bcb52cd55434add4c3fdfa266e27c99377babb4dc6b1f8e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page