Time-series data is useful only when it can move from storage into the tools that analyze it. KairosDB exposes a REST query endpoint, while Apache Spark gives you DataFrames for filtering and aggregation. The small open-source pySpark-connector-kairosdb project connects those two pieces with a minimal Python API.
This tutorial shows the smallest useful path: build a KairosDB query, send it through the connector, and understand how its Dataframe adapter turns the response into Spark-readable JSON. It also treats the project as it exists today. The repository describes itself as an alpha module, has no release tag, declares version 0.1.0 , and leaves important dependencies to the user.
TL;DR
sconnk.Connection posts a JSON query to /api/v1/datapoints/query and returns the decoded response. sconnk.Dataframe then reduces KairosDB results into newline-delimited JSON and asks Spark SQL to read data.json . The client path is easy to verify locally with a mock HTTP endpoint.…