OpenStack keystoneauth1 module instrumentation for OpenTelemetry
Project description
OpenTelemetry keystoneauth1 instrumentation
Instruments keystoneauth1, the
shared authentication and HTTP library underneath virtually every OpenStack
client.
It wraps keystoneauth1.session.Session.request -- the single method through
which every HTTP call the library makes funnels (service API calls, token
requests to Keystone, and version-discovery probes) -- so each call becomes a
CLIENT span carrying:
http.request.methodandhttp.response.status_code;- the resolved
url.fullplusserver.address/server.port; openstack.service_typewhen the caller supplied anendpoint_filter;- the OpenStack global request id as a correlation id, when present.
The active W3C trace context is injected into the outgoing request headers, so a
trace started in the client continues on the OpenStack service that handles the
request (when that service is itself instrumented, e.g. via
opentelemetry-instrumentation-keystonemiddleware).
Because it sits at the session layer -- below the OpenStack SDK's proxy -- this
instrumentor also captures the token and discovery requests that
opentelemetry-instrumentation-openstacksdk
deliberately leaves untraced. When both are enabled the session spans nest under
the SDK's proxy spans.
Installation
pip install opentelemetry-instrumentation-keystoneauth1
Usage
from opentelemetry.instrumentation.keystoneauth1 import (
KeystoneAuth1Instrumentor,
)
KeystoneAuth1Instrumentor().instrument()
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentelemetry_instrumentation_keystoneauth1-0.10.0.tar.gz.
File metadata
- Download URL: opentelemetry_instrumentation_keystoneauth1-0.10.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8879608eb4013e2d56bc89e85b834a24e5061055f07199dbaa31465661ed57a2
|
|
| MD5 |
a006af6b52cc82cdeee0b2207e6d9a63
|
|
| BLAKE2b-256 |
ff664a6196290e1ad82a961269de88a6db4077d0599548231d6f8c0d33229b98
|
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_keystoneauth1-0.10.0.tar.gz:
Publisher:
publish-pypi.yml on daipham3213/opentelemetry-openstack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentelemetry_instrumentation_keystoneauth1-0.10.0.tar.gz -
Subject digest:
8879608eb4013e2d56bc89e85b834a24e5061055f07199dbaa31465661ed57a2 - Sigstore transparency entry: 2057435655
- Sigstore integration time:
-
Permalink:
daipham3213/opentelemetry-openstack@616b79ad8efb698c7d41e7b8d4d792e7a37ac34d -
Branch / Tag:
refs/tags/0.10.0 - Owner: https://github.com/daipham3213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@616b79ad8efb698c7d41e7b8d4d792e7a37ac34d -
Trigger Event:
release
-
Statement type:
File details
Details for the file opentelemetry_instrumentation_keystoneauth1-0.10.0-py3-none-any.whl.
File metadata
- Download URL: opentelemetry_instrumentation_keystoneauth1-0.10.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81374b7402488ce4489234ba379aa2a15802587c5567187c5bb8a4c50c709a29
|
|
| MD5 |
4dd7da8b27bd087b69ae6ca4b898b45a
|
|
| BLAKE2b-256 |
ec46e3fdbb8fdc0ff37cce54a469847879b5281d25e7ff805387124c41e20c3c
|
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_keystoneauth1-0.10.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on daipham3213/opentelemetry-openstack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentelemetry_instrumentation_keystoneauth1-0.10.0-py3-none-any.whl -
Subject digest:
81374b7402488ce4489234ba379aa2a15802587c5567187c5bb8a4c50c709a29 - Sigstore transparency entry: 2057435902
- Sigstore integration time:
-
Permalink:
daipham3213/opentelemetry-openstack@616b79ad8efb698c7d41e7b8d4d792e7a37ac34d -
Branch / Tag:
refs/tags/0.10.0 - Owner: https://github.com/daipham3213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@616b79ad8efb698c7d41e7b8d4d792e7a37ac34d -
Trigger Event:
release
-
Statement type: