Skip to main content

Django application for Ansible observability with OpenTelemetry integration

Project description

Django Ansible Observability

pip3 -m venv .venv
pip install -e .
python manage.py runserver

http://localhost:8000

This should output something like the text below. The trace is showing on your console because of the Django setting ANSIBLE_OBSERVE_OUTPUT_SPAN_TO_CONSOLE = True.

[08/Aug/2025 15:31:22] "GET / HTTP/1.1" 200 43
Trace beffbf37476957dea79abb858553191a
└── [20:31:22.510739] GET index, span c29749adb0de6a7e
    ├── Kind : SERVER
    ├── Attributes :
    │   ├── http.method : GET
    │   ├── http.server_name : localhost.localdomain
    │   ├── http.scheme : http
    │   ├── net.host.name : localhost:8000
    │   ├── http.host : localhost:8000
    │   ├── net.host.port : 8000
    │   ├── http.url : http://localhost:8000/
    │   ├── net.peer.ip : 127.0.0.1
    │   ├── http.user_agent : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
    │   ├── http.flavor : 1.1
    │   └── http.status_code : 200
    └── Resources :
        └── service.name : aap-generic
Transient error StatusCode.UNAVAILABLE encountered while exporting traces to localhost:4317, retrying in 1.15s.
Transient error StatusCode.UNAVAILABLE encountered while exporting traces to localhost:4317, retrying in 2.02s.
Transient error StatusCode.UNAVAILABLE encountered while exporting traces to localhost:4317, retrying in 4.76s.
Failed to export traces to localhost:4317, error code: StatusCode.UNAVAILABLE

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

django_ansible_observability-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

django_ansible_observability-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file django_ansible_observability-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django_ansible_observability-0.1.2.tar.gz
Algorithm Hash digest
SHA256 481ece3dc0f7ab8b1212c0c5b6fde388a09781b418a53c245b855ce6b5c9c2fe
MD5 48e0ab09276ef0e2d94f4e0fa8f5cd7e
BLAKE2b-256 68698436615c76af10abbae17f7666a4c78f1e619f5e1a6b6645c9d11b9d6a1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_ansible_observability-0.1.2.tar.gz:

Publisher: pypi.yml on chrismeyersfsu/django-ansible-observability

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_ansible_observability-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_ansible_observability-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 705a61afb4cbf2019f2640b11005de909071baa825126635827d7e10446d45d1
MD5 43810f034397c08d4ea1521cce60eefd
BLAKE2b-256 5f26d60f4523141c8f6d49b8a5ccccdd2424e7ac53ba7aac2d87b7c94752fa10

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_ansible_observability-0.1.2-py3-none-any.whl:

Publisher: pypi.yml on chrismeyersfsu/django-ansible-observability

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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