reporting/

directory
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit records who changed what in the Reporting API.
Package audit records who changed what in the Reporting API.
Package auth authenticates the callers of the Reporting API.
Package auth authenticates the callers of the Reporting API.
Package config parses the Reporting API's environment configuration.
Package config parses the Reporting API's environment configuration.
Package httpapi provides primitives to interact with the openapi HTTP API.
Package httpapi provides primitives to interact with the openapi HTTP API.
problem
Package problem renders the error responses of the Reporting API: RFC 9457 documents served as application/problem+json.
Package problem renders the error responses of the Reporting API: RFC 9457 documents served as application/problem+json.
Package ingest is the batch pipeline every event reaches the reporting database through.
Package ingest is the batch pipeline every event reaches the reporting database through.
Package metrics instruments the Reporting API.
Package metrics instruments the Reporting API.
Package projection folds ingested events into current_resources, the one row per (cloud, resource_type, resource_id) that says what a resource is right now.
Package projection folds ingested events into current_resources, the one row per (cloud, resource_type, resource_id) that says what a resource is right now.
Package projects holds the domain logic of the project registry: the registration every path that writes a projects row goes through, the point-in-time traversal that answers what a project is related to, and the cycle guard a new cost-attributing relation has to pass.
Package projects holds the domain logic of the project registry: the registration every path that writes a projects row goes through, the point-in-time traversal that answers what a project is related to, and the cycle guard a new cost-attributing relation has to pass.
Package reconciliation is the loop that keeps the projection honest.
Package reconciliation is the loop that keeps the projection honest.
adapters
Package adapters holds the platform adapters the Reporting API registers for reconciliation.
Package adapters holds the platform adapters the Reporting API registers for reconciliation.
Package registry serves the size schemas that resource_types registers per (platform, resource_type).
Package registry serves the size schemas that resource_types registers per (platform, resource_type).
Package stats aggregates folded resource histories into the per-window activity the project summary reports: per resource type, how many resources began or ended their life inside the window, and how many minutes they ran within it.
Package stats aggregates folded resource histories into the per-window activity the project summary reports: per resource type, how many resources began or ended their life inside the window, and how many minutes they ran within it.
Package store is the Reporting API's database seam: the pgx connection pool, the transaction helper every multi-statement write goes through, and the migrator that applies the embedded goose chain.
Package store is the Reporting API's database seam: the pgx connection pool, the transaction helper every multi-statement write goes through, and the migrator that applies the embedded goose chain.
storetest
Package storetest hands integration tests a TimescaleDB container with the reporting migration chain applied.
Package storetest hands integration tests a TimescaleDB container with the reporting migration chain applied.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL