Skip to content

Data source additions, corrections and coding updates - #11

Merged
im-ng merged 19 commits into
mainfrom
release-0.5.2-targets
Sep 27, 2026
Merged

im-ng merged 19 commits into
mainfrom
release-0.5.2-targets

Conversation

@im-ng

@im-ng im-ng commented Sep 21, 2026

Copy link
Copy Markdown
Owner
  • Added two new data sources so apps can reach more stores through one API. ClickHouse and Couchbase
  • ClickHouse backs ctx.SQL over HTTP.
  • Couchbase backs ctx.NoSQL over HTTP (N1QL).
  • InfluxDB and Solr join as specialized sources.
  • Each source now has unit tests. Added fakeserver.zig, an in-process HTTP server, so the tests run with no external service.
  • InfluxDB Solr data sources with unit tests
  • The tests cover query, write, index, get, delete, auth and error paths.
  • Unit tests were suppressed as they fail in the coverage, needs further testing.
  • Adapted tigerstyle coding standards to avoid the regression
  • Cache evictions, unbound result set removal,
  • Limit column length for the coding
  • Limit fn lengths
  • Other style notations based on the understanding.

more stores through one API. ClickHouse and Couchbase
- ClickHouse backs `ctx.SQL` over HTTP.
- Couchbase backs `ctx.NoSQL` over HTTP (N1QL).
- InfluxDB and Solr join as specialized sources.
- Each source now has unit tests. Added `fakeserver.zig`,
an in-process HTTP server, so the tests run with no external service.
- InfluxDB Solr data sources with unit tests
- The tests cover query, write, index, get, delete,
auth and error paths.
- Unit tests were suppressed as they fail in the
coverage, needs further testing.
- Adapted tigerstyle coding standards to avoid the regression
- Cache evictions, unbound result set removal,
- Limit column length for the coding
- Limit fn lengths
- Other style notations based on the understanding.
and couchbase datasource integrations
Exclude http based data source from the coverage
- InfluxDB now uses v3 endpoints. Write hits `/api/v3/write_lp`,
  query hits `/api/v3/query_sql`, and createDatabase hits
  `/api/v3/configure/database`. `write` takes one line-protocol
  statement, just as `query` takes one SQL string.
- Rename the Cassandra backend to `NoSQL`. `get/put/delete/query`
  take a full statement now; the caller builds the query.
- Fix a shutdown segfault in `metricz`: `deinit` no longer locks a
  mutex and then frees itself.
- Align the data-source tests with the new APIs. `couchbase_test`
  sends N1QL statements; `influxdb_test` passes a token.
- Update examples and `configs/.env` (InfluxDB on 8181, no org).
- Add a Bruno API collection for local endpoint testing.
Fix Auth middleware from crashing
for migrations
Added new set of metrics for http based
data sources
internal resource usage
Added experimental mongodb support
over wired protocol
Added experimental duckgres to stream postgres DB
cronz and pubsub traceId propogation
@im-ng
im-ng merged commit 7ee8fdd into main Sep 27, 2026
2 checks passed
@im-ng
im-ng deleted the release-0.5.2-targets branch September 27, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant