zeekay
|
b9f9cdf918
|
feat: bump o11y fork to latest SigNoz — full re-sync, builds green (§4c retained)
Re-sync the entire SigNoz-derived Go tree to a clean fork of latest SigNoz
main (upstream 3e6339019), eliminating the version-skew that broke
`go build ./...` (mixed-era packages, ~14 imported-but-absent packages,
partial signoz->o11y / clickhouse->datastore rebrands, self-import cycle,
duplicate package decls).
- pkg/ + cmd/ wholesale replaced with latest SigNoz; imports rewritten
github.com/SigNoz/signoz/ -> github.com/hanzoai/o11y/.
- Adopt SigNoz's CURRENT structure (resourcefilter->telemetryresourcefilter,
integrationtypes->cloudintegrationtypes, roletypes/grammar/times folded in
upstream); old paths dropped.
- Fork deps repathed to hanzoai + bumped: signoz-otel-collector v0.144.6,
clickhouse-go-mock v0.14.1, govaluate v0.1.0; expr-lang/expr => hanzoai/expr
v1.17.8 (replace). go.mod reconciled from latest SigNoz; go.sum re-tidied.
- ee/ + cmd/enterprise stripped — o11y stays MIT-only; community edition
imports no ee packages.
- Preserved o11y additions: module path github.com/hanzoai/o11y, mount.go
(cloud.Register/zip mount adapter, HIP-0106), NOTICE + LICENSE (SigNoz §4c
attribution retained; upstream pkg files are headerless per SigNoz convention).
- Reverted o11y cosmetic renames (o11y*/datastore*) and experimental originals
(authz/iamauthz, billing, zapreceiver, zapmetricreceiver) to SigNoz canonical
to kill the skew; snapshots retained in git history for re-layering.
go build ./... = exit 0. go vet clean except benign "unreachable code" in
generated ANTLR parser files (inherited from upstream).
|
2026-07-02 14:20:32 -07:00 |
|
zeekay
|
6619e74e1f
|
feat(o11y): kill -tags signoz + -tags otlp + -tags grpc, rename clickhouse → datastore
No more opt-in tag escape hatches — ZAP is the only path.
Deleted:
pkg/prometheus/clickhouseprometheus/ (was -tags signoz, PromQL/ClickHouse adapter)
pkg/prometheus/prometheustest/ (was -tags signoz, test provider)
pkg/query-service/rules/managertestfactory.go (was -tags signoz)
pkg/query-service/app/logparsingpipeline/preview.go → preview_noop.go promoted to canonical
pkg/query-service/app/opamp/{otelconfig/,configure_ingestionRules.go} (was -tags grpc)
luxfi/trace:
exporter_otlp.go (was -tags otlp), exporter_grpc.go (was -tags grpc),
exporter_noop.go all deleted. tracer.go simplified: Type=ZAP returns
real exporter, everything else returns Noop.
Rename clickhouse → datastore (mirrors github.com/hanzoai/datastore brand):
- dirs: pkg/telemetrystore/clickhousetelemetrystore → datastoretelemetrystore
pkg/query-service/app/clickhouseReader → datastoreReader
pkg/variables/clickhouse → datastore
pkg/query-service/app/integrations/builtin_integrations/clickhouse → datastore
- 151 files mass-renamed: Clickhouse → Datastore, clickhouse → datastore
- External module paths preserved: github.com/ClickHouse/clickhouse-go/v2 (aliased as 'datastore')
AfterShip/clickhouse-sql-parser, srikanthccv/ClickHouse-go-mock — names unchanged
- External API surface preserved: sqlbuilder.ClickHouse (huandu/go-sqlbuilder enum)
Default-tag dep audit: 0 grpc, 0 grpc-gateway, 0 google api, 0 cloud auth, 0 s2a-go.
Build tags landed: NONE in o11y. ZAP-native is the only path.
|
2026-05-21 13:14:13 -07:00 |
|