Skip to content

Conversation

@NimrodAvni78
Copy link
Contributor

Adds support for SQL++ (previously Couchbase N1QL), which is a sql query language over json http.
even though mainly used by couchbase as a complimentary way to query data beside the KV protocol, is also used by other databases like apache AsterixDB, so i think it has a justification to be separated to a different protocol

resolves #1167

Checklist

@NimrodAvni78 NimrodAvni78 requested a review from a team as a code owner January 29, 2026 15:08
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

❌ Patch coverage is 25.26316% with 284 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.92%. Comparing base (a229433) to head (a35c574).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rnal/test/integration/red_test_python_couchbase.go 0.00% 143 Missing ⚠️
pkg/ebpf/common/http/sqlpp.go 57.31% 63 Missing and 7 partials ⚠️
pkg/export/otel/tracesgen/tracesgen.go 0.00% 25 Missing and 1 partial ⚠️
pkg/appolly/app/request/span.go 4.00% 22 Missing and 2 partials ⚠️
pkg/export/prom/prom.go 0.00% 4 Missing and 2 partials ⚠️
pkg/appolly/app/request/span_getters.go 0.00% 5 Missing ⚠️
pkg/ebpf/common/http_transform.go 0.00% 4 Missing and 1 partial ⚠️
pkg/export/otel/metrics.go 0.00% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1210      +/-   ##
==========================================
- Coverage   43.10%   42.92%   -0.19%     
==========================================
  Files         299      300       +1     
  Lines       32120    32476     +356     
==========================================
+ Hits        13846    13939      +93     
- Misses      17380    17629     +249     
- Partials      894      908      +14     
Flag Coverage Δ
integration-test 20.81% <0.57%> (-0.19%) ⬇️
integration-test-arm 0.00% <0.00%> (ø)
integration-test-vm-${ARCH}-${KERNEL_VERSION} 0.00% <0.00%> (ø)
k8s-integration-test 2.38% <0.00%> (-0.03%) ⬇️
oats-test 0.00% <0.00%> (ø)
unittests 43.90% <29.96%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

return "", ""
}

parts := strings.Split(table, ".")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider split.NewIterator instead to prevent the allocation of a new slice each time.

Here's an example: https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/main/pkg/ebpf/common/redis_detect_transform.go#L116

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.

Instrument and collect telemetry for Couchbase

3 participants