Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/pip/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ const (

// ErrorCodePDPUnavailable indicates PDP could not be reached.
ErrorCodePDPUnavailable = "PDP_UNAVAILABLE"

// TelemetryBundleStale is emitted when the embedded PDP's policy bundle
// exceeds the staleness threshold (RFC-005 Appendix B §B.4).
TelemetryBundleStale = "capiscio.policy.bundle_stale"

// ErrorCodeBundleStale indicates the policy bundle is stale.
// Distinct from PDP_UNAVAILABLE: the PDP evaluated successfully,
// but the underlying data may be out of date.
ErrorCodeBundleStale = "BUNDLE_STALE"
)

// TxnIDHeader is the HTTP header for transaction ID propagation (RFC-004).
Expand Down
Loading