Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.98.0"
".": "0.99.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.99.0](https://github.com/kernel/kernel-python-sdk/compare/v0.98.0...v0.99.0) (2026-09-03)


### Features

* Expose OTLP destination delivery health ([9ab1d58](https://github.com/kernel/kernel-python-sdk/commit/9ab1d583d7bb4dabba5a640883dda9f2ac248f18))

## [0.98.0](https://github.com/kernel/kernel-python-sdk/compare/v0.97.0...v0.98.0) (2026-09-02)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kernel"
version = "0.98.0"
version = "0.99.0"
description = "The official Python library for the kernel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "kernel"
__version__ = "0.98.0" # x-release-please-version
__version__ = "0.99.0" # x-release-please-version
25 changes: 25 additions & 0 deletions src/kernel/types/telemetry/otlp_destination.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class OtlpDestination(BaseModel):

id: str

consecutive_failures: int
"""
Failed deliveries since the last success, as observed by the relay process that
wrote the latest outcome. Zero means the most recently recorded outcome
succeeded.
"""

created_at: datetime

endpoint: str
Expand All @@ -39,3 +46,21 @@ class OtlpDestination(BaseModel):
updated_at: datetime

description: Optional[str] = None

last_error: Optional[str] = None
"""Sanitized class of the delivery failure recorded at `last_error_at`.

It is retained after a later success, so its presence does not mean the
destination is currently failing. Response bodies, endpoint URLs, credentials,
and raw transport errors are never returned.
"""

last_error_at: Optional[datetime] = None
"""Timestamp of the most recent failed delivery.

It is retained after a later success, so it can predate `last_export_at`. Read
`consecutive_failures` to tell whether the destination is currently failing.
"""

last_export_at: Optional[datetime] = None
"""Timestamp of the most recent successful delivery. Moves only on success."""
Loading