ragleap-observability
Metrics, logs, and alerting for RagLeap Core -- Prometheus, Grafana, Loki, and AlertManager, wired against the real db/app/voice/neo4j services.
Status
Prometheus + postgres_exporter, Grafana, and Loki + Promtail are all
built and live-verified end-to-end against a real cluster:
postgres_exporterconnects toragleap-dbusing a read-only monitoring role;/metricsreturns real, non-zero PostgreSQL statistics (pg_up 1, livepg_stat_databasevalues).- Grafana's Prometheus and Loki datasources are both confirmed live through Grafana's own datasource proxy, not just "pod is Running."
- Loki + Promtail log shipping is proven end-to-end: 21+ real log
streams confirmed in Loki with correct
namespace/pod/containerlabels, spanning nearly every pod in the cluster. See CHANGELOG for the full diagnostic history -- several real, non-obvious bugs (a cross-namespace DNS lookup, a Kubernetes service-discovery__path__resolution issue, and a YAML document-boundary corruption) were found and fixed to get here.
AlertManager and SLO/SLI dashboards are not yet built -- correctly sequenced after logs and metrics have both proven reliable, per the build order below.
Planned build order
- Prometheus + exporters (postgres_exporter for db) -- done, live-verified. neo4j's exporter remains disabled pending independent verification, see "Known open items".
- Grafana, provisioned dashboards-as-code, verified against real flowing data -- done, live-verified.
- Loki + log shipping -- done, live-verified end-to-end.
- AlertManager -- deliberately last; alerting on data that doesn't exist yet is pointless
- SLO/SLI dashboards, only after real data has accumulated for days, not minutes
Design principles
- RagLeap-specific scoping, same honest choice
ragleap-opsmade for itself -- not a generic monitoring tool - Every claim live-verified against a real cluster or explicitly labeled unverified, same discipline as every other package here
Known open items
- Neo4j Prometheus support is unverified and conflicting in the wild.
Neo4j's own KB and a working xk6-neo4j example show
metrics.prometheus.enabled=trueconfigured successfully against Neo4j Community 4.4.x. A separate monitoring vendor's own compatibility notes claim Community Edition is unsupported for their specific collector.neo4jExporter.enableddefaults tofalseinvalues.yamluntil this is live-verified against the realneo4j:5-communityimage in this repo's ownkindcluster. - Loki's retention (
168h/ 7 days) is unverified for real storage-sizing needs; flagged invalues.yamlas a placeholder. - AlertManager and a recurring log-shipping health check remain unbuilt.
Release files for ragleap-observability 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ragleap_observability-0.2.1.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ragleap_observability-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / ragleap_observability-0.2.1.tar.gz
| Download URL | ragleap_observability-0.2.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6931fe086344c2e20b5f39f1529f51da9d050df92f91653221478db6761384e9
|
|
BLAKE2b-256 checksum How to use checksums |
a44dad052270c5c8850520b517eed9704f41e53380db8da156d4d1dd2f434a4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / ragleap_observability-0.2.1-py3-none-any.whl
| Download URL | ragleap_observability-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14cfe007d9e8552a7ea9a00cb5563d789ccb571ad87904346c395a59c9fb2cc1
|
|
BLAKE2b-256 checksum How to use checksums |
88340ff4f15baf68c2c1c2980ec1c337b732d6cc50c3123b6049f12e2980a42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log